コード例 #1
0
 internal TemplateDocumentType(string extension, DocumentType baseDocType, string name, string createNewDescription, string templateCategory, Microsoft.Matrix.Core.Documents.TemplateFlags templateFlags)
     : base(extension, baseDocType.Factory)
 {
     this._name = name;
     this._baseDocType = baseDocType;
     this._createNewDescription = createNewDescription;
     this._templateCategory = templateCategory;
     this._templateFlags = templateFlags;
 }
コード例 #2
0
 internal CustomizedDocumentType(string extension, string factoryTypeName, string name, string createNewDescription, string openFilter, string smallIconName, string largeIconName, bool createUsingTemplate, bool overrideCreateUsingTemplate, Microsoft.Matrix.Core.Documents.TemplateFlags templateFlags, bool overrideTemplateFlags, string templateInstanceName)
     : base(extension, factoryTypeName)
 {
     this._name = name;
     this._createNewDescription = createNewDescription;
     this._openFilter = openFilter;
     this._smallIconName = smallIconName;
     this._largeIconName = largeIconName;
     this._createUsingTemplate = createUsingTemplate;
     this._overrideCreateUsingTemplate = overrideCreateUsingTemplate;
     this._templateFlags = templateFlags;
     this._overrideTemplateFlags = overrideTemplateFlags;
     this._templateInstanceName = templateInstanceName;
 }