public FileAssembler(Grammar grammar, ISegmentFactory segmentBuilder, IExecutableFactory executableBuilder) { this.executableBuilder = executableBuilder; this.segmentBuilder = segmentBuilder; this.ironyGrammar = grammar; this.ironyParser = new Parser(ironyGrammar); }
public SyntaxBuilderTest() { this.executionChainingBuilder = new StringBuilder(); this.executableFactory = A.Fake <IExecutableFactory <ICustomExtension> >(); this.testee = new SyntaxBuilder <ICustomExtension>(this.executableFactory); }
public CliDispatcher(IExecutableInfoFactory executableInfoFactory, IHelpInfoFactory helpInfoFactory, IExecutableFactory executableFactory, ICommandDispatcher commandDispatcher, IQueryDispatcher queryDispatcher) { _executableInfoFactory = executableInfoFactory; _executableFactory = executableFactory; _commandDispatcher = commandDispatcher; _queryDispatcher = queryDispatcher; _helpInfoFactory = helpInfoFactory; }
/// <summary> /// Initializes a new instance of the <see cref="DecoratingExecutableFactory<TExtension>"/> class. /// </summary> /// <param name="decoratedExecutableFactory">The decorated executable factory.</param> public DecoratingExecutableFactory(IExecutableFactory <TExtension> decoratedExecutableFactory) { this.decoratedExecutableFactory = decoratedExecutableFactory; }
/// <summary> /// Initializes a new instance of the <see cref="SyntaxBuilder<TExtension>"/> class. /// </summary> /// <param name="executableFactory">The executable factory.</param> public SyntaxBuilder(IExecutableFactory <TExtension> executableFactory) { this.executableFactory = executableFactory; this.executables = new Queue <IExecutable <TExtension> >(); }