示例#1
0
        public Runner(
            ISchemaCollection schemaCollection,
            IXmlElementParser xmlElementParser,
            IDesignModelParser designModelParser,
            IDesignModelCollection designModelCollection,
            IOutputModelCollection outputModelCollection,
            IStageHandlerRegistry stageHandlers,
            IDataTypeRegistry dataTypeRegistry,
            IEnumerable <IClassNamingConvention> classNamingConventions
            )
        {
            this._schemaCollection  = schemaCollection;
            this._xmlElementParser  = xmlElementParser;
            this._designModelParser = designModelParser;

            this._context = new Context
            {
                Schemas                 = schemaCollection,
                DesignModels            = designModelCollection,
                OutputModels            = outputModelCollection,
                DataTypeRegistry        = dataTypeRegistry,
                MainOutputConfiguration = designModelCollection.RootNamespace.OutputConfiguration,
                StageHandlers           = stageHandlers
            };
        }
示例#2
0
 public TestRunner(
     ISchemaCollection schemaCollection,
     IXmlElementParser designModelElementParser,
     IDesignModelParser designModelParser,
     IDesignModelCollection designModelCollection,
     IOutputModelCollection outputModelCollection,
     IStageHandlerRegistry stageHandlers,
     IDataTypeRegistry dataTypeRegistry,
     IEnumerable <IClassNamingConvention> classNamingConventions
     ) : base(
         schemaCollection,
         designModelElementParser,
         designModelParser,
         designModelCollection,
         outputModelCollection,
         stageHandlers,
         dataTypeRegistry,
         classNamingConventions
         )
 {
 }