PostSharp / / API Reference / Post­Sharp.​Reflection / Reflection­Search / Has­Custom­Attribute

Method HasCustomAttribute

HasCustomAttribute(Object, Type, Boolean)

Declaration
public static bool HasCustomAttribute(object target, Type type, bool inherit = false)
Parameters
Type Name Description
Object target
Type type
Boolean inherit
Returns
Type Description
Boolean