Esempio n. 1
0
 public CommandInterpreter(ICoreFactory coreFactory,
                           IFragmentFactory fragmentFactory, IRepository poweRepository)
 {
     this.coreFactory     = coreFactory;
     this.fragmentFactory = fragmentFactory;
     this.powerPlant      = poweRepository;
 }
        public PlantController(ICoreIdManager nameManager, ICoreFactory coreFactory, IFragmentFactory fragmentFactory)
        {
            this.idManager       = nameManager;
            this.coreFactory     = coreFactory;
            this.fragmentFactory = fragmentFactory;
            this.coresByName     = new Dictionary <string, ICore>();

            this.RegisterCoreTypes();
            this.RegisterFragmentTypes();
        }
Esempio n. 3
0
        protected override IEnumerable <MethodCallExpression> Generate(ParameterExpression bldr)
        {
            foreach (ColumnSelection sel in Selections)
            {
                IFragmentFactory fragment = sel.Reason;

                foreach (MethodCallExpression action in fragment.GetFragments(bldr, sel.ViewProperty, IsAggregate))
                {
                    yield return(action);
                }
            }
        }
Esempio n. 4
0
 public FragmentNavigator(ActivityBase activity, IFragmentFactory fragmentFactory)
 {
     _activity        = activity;
     _fragmentFactory = fragmentFactory;
 }
Esempio n. 5
0
 public DelimitedFragment(ITextSplitter parser, IFragmentFactory fragmentFactory)
 {
     _parser = parser;
     _fragmentFactory = fragmentFactory;
 }
 public SkipEmptyFragmentFactory(IFragmentFactory fragmentFactory)
 {
     _fragmentFactory = fragmentFactory;
 }