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;
 }