Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.CreateCustomAttribute(Type, Attribute) Method

Creates a CustomAttributeBuilder.

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

Parameters

type
The desired AttributeType.
sourceAttribute
Source attribute to copy properties from (may be a null reference (Nothing in Visual Basic)).

Return Value

A custom attribute builder.

See Also

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