IsAutoProperty Method
Definition
- Namespace
- Cuemon.Reflection
- Assemblies
- Cuemon.Core.dll
IsAutoProperty(IDecorator<PropertyInfo>)
Determines whether the underlying PropertyInfo of the decorator is considered an automatic property implementation.
public static bool IsAutoProperty(this IDecorator<PropertyInfo> decorator)
Parameters
decoratorIDecorator<PropertyInfo>The IDecorator<T> to extend.
Returns
- bool
trueif the underlying PropertyInfo of thedecoratoris considered an automatic property implementation; otherwise,false.
Exceptions
- ArgumentNullException
decoratorcannot be null.