C# Class Sitecore.ItemAdapter.FieldTypes.ItemAdapterFieldAttribute

Inheritance: System.Attribute
ファイルを表示 Open project: Sitecore/sitecore-itemadapter Class Usage Examples

Public Methods

Method Description
CheckType ( Type propertyType ) : bool
ExpectedType ( ) : Type

Protected Methods

Method Description
GetValue ( System.Item item, Type propertyType, int depth ) : object
ItemAdapterFieldAttribute ( string fieldId ) : System
SetValue ( System.Item item, Type propertyType, object propertyValue ) : object

Private Methods

Method Description
GetFieldValue ( System.Item item, Type propertyType, int depth ) : object
SetFieldValue ( System.Item item, Type propertyType, object propertyValue ) : object

Method Details

CheckType() public abstract method

public abstract CheckType ( Type propertyType ) : bool
propertyType System.Type
return bool

ExpectedType() public abstract method

public abstract ExpectedType ( ) : Type
return System.Type

GetValue() protected abstract method

protected abstract GetValue ( System.Item item, Type propertyType, int depth ) : object
item System.Item
propertyType System.Type
depth int
return object

ItemAdapterFieldAttribute() protected method

protected ItemAdapterFieldAttribute ( string fieldId ) : System
fieldId string
return System

SetValue() protected abstract method

protected abstract SetValue ( System.Item item, Type propertyType, object propertyValue ) : object
item System.Item
propertyType System.Type
propertyValue object
return object