MetalamaAPI documentationAspect APIMetalama.​Framework.​Run­TimeField­Or­Property­InfoGet­Custom­Attributes
Open sandboxFocus

FieldOrPropertyInfo.GetCustomAttributes Method

GetCustomAttributes(Boolean)

Declaration
public override object[] GetCustomAttributes(bool inherit)
Parameters
Type Name Description
System.Boolean inherit
Returns
Type Description
System.Object[]

GetCustomAttributes(Type, Boolean)

Declaration
public override object[] GetCustomAttributes(Type attributeType, bool inherit)
Parameters
Type Name Description
System.Type attributeType
System.Boolean inherit
Returns
Type Description
System.Object[]