IGUtils.

GetCustomAttribute<T>(ICustomAttributeProvider, bool) Method

Summary

Gets a single custom attribute of type T and casts it.
Assembly
Kybernetik.InspectorGadgets.dll
Namespace
InspectorGadgets
Containing Type
IGUtils

Syntax

public static T GetCustomAttribute<T>(this ICustomAttributeProvider target, bool inherit = false) 
    where T : Attribute

Type Parameters

Name Description
T

Parameters

Name Type Description
target ICustomAttributeProvider
inherit bool

Return Value

Type Description
T