C# Класс Adf.Business.SmartReferences.SmartReferencePropertyParser

Represents SmartReference property parsing operations.
Наследование: IPropertyParser
Показать файл Открыть проект

Открытые методы

Метод Описание
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 empty will be included or not.

IsEmpty ( object value ) : bool

Indicates whether the supplied 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 supplied Type is parsable or not.

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

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

Приватные методы

Метод Описание
GetCollection ( object target, IEnumerable items = null ) : List

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 empty will be included or not.
public GetCollection ( object target, bool includeEmpty, IEnumerable items = null ) : ICollection
target object Object to get collection for.
includeEmpty bool The indicator to indicate whether empty will be included or not.
items IEnumerable
Результат ICollection

IsEmpty() публичный Метод

Indicates whether the supplied object is empty or not.
Argument is not valid
public IsEmpty ( object value ) : bool
value 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 Object to compare.
to object The Object to compare with.
Результат bool

IsParsable() публичный Метод

Indicates whether the supplied 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.
Not a valid argument.
public SetValue ( object instance, PropertyInfo pi, object newvalue, CultureInfo culture = null ) : 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