IGUtils.

GetAttributedProperties<TAttribute>(Type, BindingFlags, List<TAttribute>, List<PropertyInfo>) Method

Summary

Get all properties with the specified attribute in `type`.
Assembly
Kybernetik.InspectorGadgets.dll
Namespace
InspectorGadgets
Containing Type
IGUtils

Syntax

public static void GetAttributedProperties<TAttribute>(Type type, BindingFlags bindingFlags, List<TAttribute> attributes, List<PropertyInfo> properties) 
    where TAttribute : Attribute

Type Parameters

Name Description
TAttribute

Parameters

Name Type Description
type Type
bindingFlags BindingFlags
attributes List<TAttribute>
properties List<PropertyInfo>

Return Value

Type Description
void