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