Beispiel #1
0
 public ContentPartDefinition(string name, IEnumerable <ContentPartFieldDefinition> fields, SettingsDictionary settings)
 {
     Name     = name;
     Fields   = fields.ToReadOnlyCollection();
     Settings = settings;
 }
Beispiel #2
0
 public ContentPartDefinition(string name)
 {
     Name     = name;
     Fields   = Enumerable.Empty <ContentPartFieldDefinition>();
     Settings = new SettingsDictionary();
 }
Beispiel #3
0
 public ContentPartFieldDefinition(ContentFieldDefinition contentFieldDefinition, string name, SettingsDictionary settings)
 {
     Name            = name;
     FieldDefinition = contentFieldDefinition;
     Settings        = settings;
 }
Beispiel #4
0
 public ContentPartFieldDefinition(string name)
 {
     Name            = name;
     FieldDefinition = new ContentFieldDefinition(null);
     Settings        = new SettingsDictionary();
 }
Beispiel #5
0
 public ContentTypeDefinition(string name, string displayName, IEnumerable <ContentTypePartDefinition> parts, SettingsDictionary settings)
 {
     Name        = name;
     DisplayName = displayName;
     Parts       = parts.ToReadOnlyCollection();
     Settings    = settings;
 }