ReflectionUtilities.

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

Summary

Gets all properties with the specified attribute in `type`.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
ReflectionUtilities

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