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 ContentPartFieldDefinition( ContentFieldDefinition contentFieldDefinition, string name, SettingsDictionary settings) { Name = name; FieldDefinition = contentFieldDefinition; Settings = settings; }
private ContentFieldDefinitionRecord Acquire(ContentFieldDefinition contentFieldDefinition) { var result = _contentStorageManager .Query<ContentFieldDefinitionRecord>(x => x.Name == contentFieldDefinition.Name) .SingleOrDefault(); if (result == null) { result = new ContentFieldDefinitionRecord { Name = contentFieldDefinition.Name }; _contentStorageManager.Store(result); } return result; }
public override ContentPartFieldDefinitionBuilder OfType(string fieldType) { _fieldDefinition = new ContentFieldDefinition(fieldType); return this; }
public override ContentPartFieldDefinitionBuilder OfType(ContentFieldDefinition fieldDefinition) { _fieldDefinition = fieldDefinition; return this; }
public FieldConfigurerImpl(ContentPartFieldDefinition field, ContentPartDefinition part) : base(field) { _fieldDefinition = field.FieldDefinition; _fieldName = field.Name; _partDefinition = part; }
public abstract ContentPartFieldDefinitionBuilder OfType(ContentFieldDefinition fieldDefinition);