예제 #1
0
 private PipelineInstance(ProjectDOM.Pipeline pipeline, INSTANCEFACTORY filterResolver, SETTINGSFUNCTION settingsResolver)
 {
     _InstanceFactory     = filterResolver;
     _SettingsFactory     = settingsResolver;
     _Pipeline            = pipeline;
     _PipelineFingerPrint = pipeline.GetHierarchyFingerPrint();
 }
예제 #2
0
        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));
        }