IsDefined(Assembly, Type, bool) Method

Determines whether any custom attributes are applied to an assembly. Parameters specify the assembly, the type of the custom attribute to search for, and an ignored search option.
Namespace: Z.Reflection.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static bool IsDefined(this Assembly element, Type attributeType, bool inherit)

Parameters

element
Type:  Assembly
An object derived from the class that describes a reusable collection of modules.
attributeType
Type:  Type
The type, or a base type, of the custom attribute to search for.
inherit
Type:  Boolean
This parameter is ignored, and does not affect the operation of this method.

Return Value

Type:  Boolean
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)