Show / Hide Table of Contents

Method CoerceDeclaringTypeOnly

| Improve this Doc View Source

CoerceDeclaringTypeOnly(Boolean)

Coerce the value of DeclaringTypeOnly property.

Declaration
protected virtual bool CoerceDeclaringTypeOnly(bool value)
Parameters
Type Name Description
System.Boolean value

The original DeclaringTypeOnly property value.

Returns
Type Description
System.Boolean

The coerced DeclaringTypeOnly property value.

Remarks

Derived class can override this method to enforce DeclaringTypeOnly property value. The default implementation does not change the original value.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest