Пример #1
0
        public IMvxSourceStep Create(MvxSourceStepDescription description)
        {
            IMvxSourceStepFactory subFactory;
            if (!this._subFactories.TryGetValue(description.GetType(), out subFactory))
            {
                throw new MvxException("Failed to get factory for step type {0}", description.GetType().Name);
            }

            return subFactory.Create(description);
        }
Пример #2
0
        public IMvxSourceStep Create(MvxSourceStepDescription description)
        {
            IMvxSourceStepFactory subFactory;

            if (!this._subFactories.TryGetValue(description.GetType(), out subFactory))
            {
                throw new MvxException("Failed to get factory for step type {0}", description.GetType().Name);
            }

            return(subFactory.Create(description));
        }
Пример #3
0
 protected MvxSourceStep(MvxSourceStepDescription description)
 {
     this._description = description;
 }
Пример #4
0
 protected MvxSourceStep(MvxSourceStepDescription description)
 {
     this._description = description;
 }