public SaveCodeGenerationContextAssembly(
     DefinitionContext definitionContext,
     Assembly assembly,
     string defaultNamespace,
     string location,
     string fileName)
 {
     this.Assembly               = assembly;
     this.Location               = location;
     this.FileName               = fileName;
     this.DefaultNamespace       = defaultNamespace;
     this._definitionContext     = definitionContext;
     this._definitions           = new List <TypeDefinition>();
     this._structDefinitions     = new List <TypeDefinition>();
     this._containerDefinitions  = new List <ContainerDefinition>();
     this._codeGenerationContext = new CodeGenerationContext();
 }
示例#2
0
 public SaveCodeGenerationContext(DefinitionContext definitionContext)
 {
     this._definitionContext = definitionContext;
     this._assemblies        = new Dictionary <Assembly, SaveCodeGenerationContextAssembly>();
 }