Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionAttributeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Method

Returns whether this converter can convert an object of the given type to an ITransactionAttribute, using the specified context.

[Visual Basic]
Public Overrides Overloads Sub CanConvertFrom( _
   ByVal context As ITypeDescriptorContext, _
   ByVal sourceType As Type _
public override bool CanConvertFrom(
   ITypeDescriptorContext context,
   Type sourceType


An ITypeDescriptorContext that provides a format context.
A Type that represents the type you want to convert from.

Return Value

true if this converter can perform the conversion; otherwise, false.

See Also

TransactionAttributeConverter Class | Spring.Transaction.Interceptor Namespace | TransactionAttributeConverter.CanConvertFrom Overload List