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