/// <summary> /// Initializes the object with default values. /// </summary> public ComplexTypeBuilder( AssemblyModule moduleFactory, string targetNamespace, int targetNamespaceIndex, string moduleName = null) { m_targetNamespace = targetNamespace; m_targetNamespaceIndex = targetNamespaceIndex; m_moduleName = FindModuleName(moduleName, targetNamespace, targetNamespaceIndex); m_moduleBuilder = moduleFactory.GetModuleBuilder(); }
/// <summary> /// Factory creates types in the assembly module. /// </summary> public ComplexTypeBuilderFactory(string assemblyName = null) { m_moduleFactory = new AssemblyModule(assemblyName); }