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

            return subFactory.Create(description);
        }
        public IMvxSourceStep Create(MvxSourceStepDescription description)
        {
            IMvxSourceStepFactory subFactory;

            if (!_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)
 {
     _description = description;
 }
Пример #4
0
 protected MvxSourceStep(MvxSourceStepDescription description)
 {
     _description = description;
 }