public LocalContext(ConvertConfiguration configuration, IConvertContext convertContext, Type type)
 {
     Configuration   = configuration;
     _convertContext = convertContext;
     _type           = type;
     Imports         = new Dictionary <Type, TypeScriptResult>();
     ExternalImports = new Dictionary <TypeScriptType[], string>();
 }
示例#2
0
        public ConvertContext()
        {
            _generatedTypes = new Dictionary <Type, TypeScriptResult>();

            Configuration = new ConvertConfiguration();
        }