Table of Contents

IsAutoProperty Method

Definition

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

decorator IDecorator<PropertyInfo>

The IDecorator<T> to extend.

Returns

bool

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

Exceptions

ArgumentNullException

decorator cannot be null.