C# Class Aqueduct.SitecoreLib.DataAccess.ValueResolvers.ValuesListResolver

Inheritance: IValueResolver
Mostra file Open project: aqueduct/Aqueduct.SitecoreLib

Public Methods

Method Description
CanResolve ( Type type ) : bool
ResolveEntityPropertyValue ( string rawValue, Type propertyType ) : object
ResolveItemFieldValue ( object rawValue ) : object
ValuesListResolver ( IEnumerable resolvers ) : System

Protected Methods

Method Description
GetInnerResolver ( Type typeToResolve ) : IValueResolver

Private Methods

Method Description
CreateList ( Type propertyType ) : IList
IsGenericIList ( Type propertyType ) : bool
IsGenericParameterOfTypeNotAssignableToISitecoreDomainEnitity ( Type propertyType ) : bool

Method Details

CanResolve() public method

public CanResolve ( Type type ) : bool
type System.Type
return bool

GetInnerResolver() protected method

protected GetInnerResolver ( Type typeToResolve ) : IValueResolver
typeToResolve System.Type
return IValueResolver

ResolveEntityPropertyValue() public method

public ResolveEntityPropertyValue ( string rawValue, Type propertyType ) : object
rawValue string
propertyType System.Type
return object

ResolveItemFieldValue() public method

public ResolveItemFieldValue ( object rawValue ) : object
rawValue object
return object

ValuesListResolver() public method

public ValuesListResolver ( IEnumerable resolvers ) : System
resolvers IEnumerable
return System