Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

RequiredAttributeObjectPostProcessor.RequiredAttributeType Property

Sets the type of the required attribute, to be used on a property setter

[Visual Basic]
Public Property RequiredAttributeType() As Type
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public Type RequiredAttributeType { public get; public set; }

Property Value

The type of the required attribute.

Remarks

The default required attribute type is the Spring-provided RequiredAttribute attribute. This setter property exists so that developers can provide their own (non-Spring-specific) annotation type to indicate that a property value is required.

See Also

RequiredAttributeObjectPostProcessor Class | Spring.Objects.Factory.Attributes Namespace