CodeStyleOptions.ShouldIgnoreAttribute Method

Namespace
Kampute.DocToolkit.Languages
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the specified attribute should be ignored based on the current options and the target where the attribute is applied.
public bool ShouldIgnoreAttribute(ICustomAttribute attribute)

Parameters

attribute ICustomAttribute
The ICustomAttribute representing the attribute to be checked.

Returns

bool
true if the attribute should be ignored; otherwise, false.

Exceptions

ArgumentNullException
attribute is null.