CustomAttributeHelper Methods |
The CustomAttributeHelper type exposes the following members.
Name | Description | |
---|---|---|
ConstructRuntimeObject(IAnnotationValue) |
Construct the instance (typically an object derived from Attribute)
represented a given IAnnotationValue. This overload uses
reflection to locate the constructor, and does not work if the target framework
is not .NET Framework.
| |
ConstructRuntimeObject(IAnnotationValue, SerializedValueBindingOptions) |
Construct the instance (typically an object derived from Attribute)
represented a given IAnnotationValue, and specifies options. This overload uses
reflection to locate the constructor, and does not work if the target framework
is not .NET Framework.
| |
ConstructRuntimeObject(IAnnotationValue, Type) |
Construct the instance represented by a given IAnnotationValue, given its
type passed as an argument. This overload is safe even when the target framework is not
.NET Framework.
| |
ConstructRuntimeObject(IAnnotationValue, Type, SerializedValueBindingOptions) |
Construct the instance represented by a given IAnnotationValue, given its
type passed as an argument, and specifies options. This overload is safe even when the target framework is not
.NET Framework.
| |
ConstructRuntimeObject<T>(IAnnotationValue) |
Construct the instance represented by a given IAnnotationValue, given its
type passed as a generic argument. This overload is safe even when the target framework is not
.NET Framework.
| |
ConstructRuntimeObject<T>(IAnnotationValue, SerializedValueBindingOptions) |
Construct the instance represented by a given IAnnotationValue, given its
type passed as a generic argument, and specifies options. This overload is safe even when the target framework is not
.NET Framework.
| |
EmitCustomAttributeConstruction |
Emits instructions that construct a custom attribute.
| |
GetRuntimeValue | ||
Render(IAnnotationValue) |
Renders a custom attribute value to a string.
| |
Render(IAnnotationValue, StringBuilder) |
Renders a custom attribute value to an existing StringBuilder.
| |
SetRuntimeObjectNamedArguments |
Sets the fields and properties of an object (using reflection) given the named arguments of an IAnnotationValue.
|