Created
June 5, 2018 19:46
-
-
Save hishaamn/6637fa4504e041e202937f18fb6d30c0 to your computer and use it in GitHub Desktop.
Pipeline to run the load fields
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DownloadEventIndexableLoadFieldsPipeline | |
{ | |
public static List<IIndexableDataField> Run(ICorePipeline pipeline, DownloadEventIndexableLoadFieldsPipelineArgs args, string pipelineName = "downloadeventindexable.loadfields") | |
{ | |
try | |
{ | |
pipeline.Run(pipelineName, args); | |
} | |
catch | |
{ | |
ObservationLog.Log.Debug(() => "Could not resolve pipeline - " + pipelineName); | |
} | |
return args.Fields; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment