public Diffgram(FluentContentTypeConfiguration configuration, ServiceContext serviceContext)
        {
            this.configuration  = configuration;
            this.serviceContext = serviceContext;
            contentTypeService  = serviceContext.ContentTypeService;

            DocumentTypes = new Dictionary <string, DocumentTypeDiffgram>();
            DataTypes     = new Dictionary <string, DataTypeDiffgram>();
            Templates     = new Dictionary <string, TemplateDiffgram>();
        }
예제 #2
0
 public DataTypeConfigurator(FluentContentTypeConfiguration parent, string name)
 {
     configuration = new DataTypeConfiguration(name);
 }
예제 #3
0
 public TemplateConfigurator(FluentContentTypeConfiguration parent, string @alias)
 {
     this.parent   = parent;
     configuration = new TemplateConfiguration(alias);
 }
 public DocumentTypeConfigurator(FluentContentTypeConfiguration parent, string @alias)
 {
     this.parent   = parent;
     Configuration = new DocumentTypeConfiguration(alias);
     Tabs          = new Dictionary <string, TabConfigurator>();
 }