C# Class Sitecore.ItemAdapter.FieldTypes.NestedModel.ItemAdapterNestedModelFieldAttribute

Inheritance: ItemAdapterFieldAttribute
Show file Open project: Sitecore/sitecore-itemadapter

Public Methods

Method Description
CheckType ( Type propertyType ) : bool
ExpectedInterface ( ) : Type
ExpectedType ( ) : Type
InitItemAdapter ( IItemAdapter itemAdapter ) : void

Protected Methods

Method Description
GetModel ( System.Item item, Type propertyType, int depth ) : IItemAdapterModel
ItemAdapterNestedModelFieldAttribute ( string fieldId, Type nestedModelType ) : System

Method Details

CheckType() public method

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

ExpectedInterface() public method

public ExpectedInterface ( ) : Type
return System.Type

ExpectedType() public method

public ExpectedType ( ) : Type
return System.Type

GetModel() protected method

protected GetModel ( System.Item item, Type propertyType, int depth ) : IItemAdapterModel
item System.Item
propertyType System.Type
depth int
return IItemAdapterModel

InitItemAdapter() public method

public InitItemAdapter ( IItemAdapter itemAdapter ) : void
itemAdapter IItemAdapter
return void

ItemAdapterNestedModelFieldAttribute() protected method

protected ItemAdapterNestedModelFieldAttribute ( string fieldId, Type nestedModelType ) : System
fieldId string
nestedModelType System.Type
return System