Table of Contents

Class PropertyInfoDecoratorExtensions

Namespace
Cuemon.Reflection
Assembly
Cuemon.Core.dll

Extension methods for the System.Reflection.PropertyInfo class hidden behind the IDecorator<T> interface.

public static class PropertyInfoDecoratorExtensions
Inheritance
Object
PropertyInfoDecoratorExtensions

Methods

IsAutoProperty(IDecorator<PropertyInfo>)

Determines whether the underlying System.Reflection.PropertyInfo of the decorator is considered an automatic property implementation.

public static bool IsAutoProperty(this IDecorator<PropertyInfo> decorator)

Parameters

decorator IDecorator<PropertyInfo>

The IDecorator<T> to extend.

Returns

Boolean

true if the underlying System.Reflection.PropertyInfo of the decorator is considered an automatic property implementation; otherwise, false.

Exceptions

System.ArgumentNullException

decorator cannot be null.

IsOverridden(IDecorator<PropertyInfo>)

Determines whether the underlying System.Reflection.PropertyInfo of the decorator has been overridden.

public static bool IsOverridden(this IDecorator<PropertyInfo> decorator)

Parameters

decorator IDecorator<PropertyInfo>

The IDecorator<T> to extend.

Returns

Boolean

true if the underlying System.Reflection.PropertyInfo of the decorator has been overridden; otherwise, false.

Exceptions

System.ArgumentNullException

decorator cannot be null.

See Also