Boo.Lang.Compiler.CompilerPipeline.Insert C# (CSharp) Метод

Insert() публичный Метод

public Insert ( int index, ICompilerStep step ) : CompilerPipeline
index int
step ICompilerStep
Результат CompilerPipeline
        public CompilerPipeline Insert(int index, ICompilerStep step)
        {
            if (null == step) throw new ArgumentNullException("step");
            _items.Insert(index, step);
            return this;
        }

Usage Example

Пример #1
0
 protected override void CustomizeCompiler(BooCompiler compiler, CompilerPipeline pipeline, string[] urls)
 {
     pipeline.Insert(1, new ImplicitBaseClassCompilerStep(typeof(BooConfigReader), "Prepare", "Horn.Core.Dsl"));
     pipeline.InsertBefore(typeof(ProcessMethodBodiesWithDuckTyping), new RightShiftToMethodCompilerStep());
     pipeline.Insert(2, new UnderscorNamingConventionsToPascalCaseCompilerStep());
     pipeline.Insert(3, new UseSymbolsStep());
 }
All Usage Examples Of Boo.Lang.Compiler.CompilerPipeline::Insert