Exemplo n.º 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);
        }
Exemplo n.º 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));
        }
Exemplo n.º 3
0
 protected MvxSourceStep(MvxSourceStepDescription description)
 {
     this._description = description;
 }
Exemplo n.º 4
0
 protected MvxSourceStep(MvxSourceStepDescription description)
 {
     this._description = description;
 }