C# Class Adf.Base.Domain.ListPropertyParser

Represents Enum property parsing operations.
Inheritance: IPropertyParser
Mostrar archivo Open project: NLADP/ADF

Public Methods

Method Description
GetCollection ( Type targetType, bool includeEmpty, IEnumerable items = null ) : ICollection
GetCollection ( object target, bool includeEmpty, IEnumerable items = null ) : ICollection
IsEmpty ( object value ) : bool
IsEqual ( object compare, object to ) : bool
IsParsable ( Type type ) : bool
SetValue ( object instance, PropertyInfo pi, object newvalue, CultureInfo culture = null ) : void

Method Details

GetCollection() public method

public GetCollection ( Type targetType, bool includeEmpty, IEnumerable items = null ) : ICollection
targetType System.Type
includeEmpty bool
items IEnumerable
return ICollection

GetCollection() public method

public GetCollection ( object target, bool includeEmpty, IEnumerable items = null ) : ICollection
target object
includeEmpty bool
items IEnumerable
return ICollection

IsEmpty() public method

public IsEmpty ( object value ) : bool
value object
return bool

IsEqual() public method

public IsEqual ( object compare, object to ) : bool
compare object
to object
return bool

IsParsable() public method

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

SetValue() public method

public SetValue ( object instance, PropertyInfo pi, object newvalue, CultureInfo culture = null ) : void
instance object
pi System.Reflection.PropertyInfo
newvalue object
culture System.Globalization.CultureInfo
return void