C# 클래스 Adf.Base.Domain.DescriptorPropertyParser

This class represents parsing operations for properties of type Descriptor.
상속: IPropertyParser
파일 보기 프로젝트 열기: NLADP/ADF

공개 메소드들

메소드 설명
GetCollection ( Type targetType, bool includeEmpty, IEnumerable items = null ) : ICollection
GetCollection ( object target, bool includeEmpty, IEnumerable items = null ) : ICollection

Gets the collection of the property info for the specified target object. An indicator is also supplied to indicate whether a empty descriptor will be included or not.

IsEmpty ( object target ) : bool

Checks whether the specified object is empty or not.

IsEqual ( object compare, object to ) : bool

Checks whether the two specified Objects are equal or not.

IsParsable ( Type type ) : bool

Indicates whether the specified Type is parsable or not.

SetValue ( object instance, PropertyInfo pi, object newvalue, CultureInfo culture ) : void

Sets the new value for a specific property on an object.

비공개 메소드들

메소드 설명
GetCollection ( object target, IEnumerable items = null ) : IEnumerable

Gets the collection of the property info for the specified target object.

메소드 상세

GetCollection() 공개 메소드

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

GetCollection() 공개 메소드

Gets the collection of the property info for the specified target object. An indicator is also supplied to indicate whether a empty descriptor will be included or not.
public GetCollection ( object target, bool includeEmpty, IEnumerable items = null ) : ICollection
target object The object.
includeEmpty bool The indicator to indicate whether empty will be included or not.
items IEnumerable
리턴 ICollection

IsEmpty() 공개 메소드

Checks whether the specified object is empty or not.
public IsEmpty ( object target ) : bool
target object The Object to be checked for null or empty.
리턴 bool

IsEqual() 공개 메소드

Checks whether the two specified Objects are equal or not.
public IsEqual ( object compare, object to ) : bool
compare object The first supplied object.
to object The second supplied object.
리턴 bool

IsParsable() 공개 메소드

Indicates whether the specified Type is parsable or not.
public IsParsable ( Type type ) : bool
type System.Type The supplied .
리턴 bool

SetValue() 공개 메소드

Sets the new value for a specific property on an object.
Unable to convert the new value to the specified property. null reference is not accept as a valid argument.
public SetValue ( object instance, PropertyInfo pi, object newvalue, CultureInfo culture ) : void
instance object Target object to set property at.
pi System.Reflection.PropertyInfo Property info for the property to set.
newvalue object Value for the property.
culture System.Globalization.CultureInfo
리턴 void