C# 클래스 Felinesoft.UmbracoCodeFirst.Core.Modules.PropertyModule

상속: IPropertyModule
파일 보기 프로젝트 열기: DanMannMann/UmbracoCodeFirst

공개 메소드들

메소드 설명
CreateProperty ( IContentTypeBase newContentType, TabRegistration tab, PropertyInfo item, Type documentClrType ) : PropertyRegistration

Creates a new property on the ContentType under the correct tab

Initialise ( IEnumerable classes ) : void
PropertyModule ( IDataTypeModule dataTypeModule, IDataTypeService dataTypeService ) : System
VerifyExistingProperty ( IContentTypeBase contentType, TabRegistration tab, PropertyInfo item, Type documentClrType, bool &modified ) : PropertyRegistration

Checks whether a property exists and adds if if it does not. The data type, alias, description and mandatory flag are update for existing properties, but not persisted. Callers should persist the value.

비공개 메소드들

메소드 설명
IsInheritedProperty ( TabRegistration tab, Type documentClrType, PropertyRegistration property ) : bool
LogPropertySyncInfo ( IContentTypeBase contentType, TabRegistration tab, PropertyRegistration property, string action, [ sourceMethod = null ) : void

메소드 상세

CreateProperty() 공개 메소드

Creates a new property on the ContentType under the correct tab
public CreateProperty ( IContentTypeBase newContentType, TabRegistration tab, PropertyInfo item, Type documentClrType ) : PropertyRegistration
newContentType IContentTypeBase
tab TabRegistration
item System.Reflection.PropertyInfo
documentClrType System.Type
리턴 PropertyRegistration

Initialise() 공개 메소드

public Initialise ( IEnumerable classes ) : void
classes IEnumerable
리턴 void

PropertyModule() 공개 메소드

public PropertyModule ( IDataTypeModule dataTypeModule, IDataTypeService dataTypeService ) : System
dataTypeModule IDataTypeModule
dataTypeService IDataTypeService
리턴 System

VerifyExistingProperty() 공개 메소드

Checks whether a property exists and adds if if it does not. The data type, alias, description and mandatory flag are update for existing properties, but not persisted. Callers should persist the value.
public VerifyExistingProperty ( IContentTypeBase contentType, TabRegistration tab, PropertyInfo item, Type documentClrType, bool &modified ) : PropertyRegistration
contentType IContentTypeBase
tab TabRegistration
item System.Reflection.PropertyInfo
documentClrType System.Type
modified bool
리턴 PropertyRegistration