Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hishaamn/6637fa4504e041e202937f18fb6d30c0 to your computer and use it in GitHub Desktop.
Save hishaamn/6637fa4504e041e202937f18fb6d30c0 to your computer and use it in GitHub Desktop.
Pipeline to run the load fields
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