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

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

Public Methods

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

Private Methods

Method Description
ExtractInnerValue ( object rawValue ) : object
GetBooleanValue ( string value ) : object
GetConvertibleValue ( Type type, string value ) : object
GetDateTimeValue ( string value ) : object
GetEnumValue ( Type type, string value ) : object
GetObjectValue ( string value, Type type ) : object
IsNullableGenericType ( Type type ) : bool

Method Details

CanResolve() public method

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

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