private DocumentTypeDiffgram AddDocumentType(DocumentTypeConfiguration documentTypeConfiguration) { var docTypeDiffgram = new DocumentTypeDiffgram(this, documentTypeConfiguration, serviceContext); DocumentTypes.Add(documentTypeConfiguration.Alias, docTypeDiffgram); return(docTypeDiffgram); }
public DocumentTypeConfigurator(FluentContentTypeConfiguration parent, string @alias) { this.parent = parent; Configuration = new DocumentTypeConfiguration(alias); Tabs = new Dictionary <string, TabConfigurator>(); }