private PipelineInstance(ProjectDOM.Pipeline pipeline, INSTANCEFACTORY filterResolver, SETTINGSFUNCTION settingsResolver) { _InstanceFactory = filterResolver; _SettingsFactory = settingsResolver; _Pipeline = pipeline; _PipelineFingerPrint = pipeline.GetHierarchyFingerPrint(); }
public static PipelineInstance CreatePipelineInstance(ProjectDOM.Pipeline pipeline, INSTANCEFACTORY filterResolver, SETTINGSFUNCTION settingsResolver) { if (pipeline == null) { throw new ArgumentNullException(nameof(pipeline)); } if (filterResolver == null) { throw new ArgumentNullException(nameof(filterResolver)); } return(new PipelineInstance(pipeline, filterResolver, settingsResolver)); }