Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.CreateCustomAttribute(Attribute) Method

Creates a CustomAttributeBuilder.

[Visual Basic]
Public Overloads Shared Sub CreateCustomAttribute( _
   ByVal sourceAttribute As Attribute _
)
[C#]
public static CustomAttributeBuilder CreateCustomAttribute(
   Attribute sourceAttribute
);

Parameters

sourceAttribute
The source attribute to copy properties from.

Return Value

A custom attribute builder.

Exceptions

Exception Type Condition
NullReferenceException If the supplied sourceAttribute is a null reference (Nothing in Visual Basic).

See Also

ReflectionUtils Class | Spring.Util Namespace | ReflectionUtils.CreateCustomAttribute Overload List