Class AttributeUtils
Inheritance
System.Object
AttributeUtils
Assembly: Steeltoe.Common.dll
Syntax
public static class AttributeUtils : object
Methods
|
Edit this page
View Source
FindMethodsWithAttribute(Type, Type, BindingFlags)
Declaration
public static List<MethodInfo> FindMethodsWithAttribute(Type targetClass, Type attribute, BindingFlags flags)
Parameters
Type |
Name |
Description |
Type |
targetClass |
|
Type |
attribute |
|
BindingFlags |
flags |
|
Returns
Type |
Description |
List<MethodInfo> |
|
|
Edit this page
View Source
GetValue(Attribute, String)
Declaration
public static object GetValue(Attribute attribute, string propertyName)
Parameters
Type |
Name |
Description |
Attribute |
attribute |
|
System.String |
propertyName |
|
Returns
Type |
Description |
System.Object |
|