C# Class Spring.Retry.Support.TypeExtensions

Type Extensions
Show file Open project: spring-projects/spring-net-retry

Public Methods

Method Description
FindAttribute ( this type, Type attributeType ) : Attribute
FindAttributes ( this type, Type attributeType ) : System.Attribute[]
GetArgsString ( this args ) : string
GetMethodIfAvailable ( this type, string methodName, Type paramTypes ) : MethodInfo

The get method if available.

GetParamsString ( this paramArray ) : string

The get param string.

Method Details

FindAttribute() public static method

public static FindAttribute ( this type, Type attributeType ) : Attribute
type this
attributeType System.Type
return System.Attribute

FindAttributes() public static method

public static FindAttributes ( this type, Type attributeType ) : System.Attribute[]
type this
attributeType System.Type
return System.Attribute[]

GetArgsString() public static method

public static GetArgsString ( this args ) : string
args this
return string

GetMethodIfAvailable() public static method

The get method if available.
public static GetMethodIfAvailable ( this type, string methodName, Type paramTypes ) : MethodInfo
type this The type.
methodName string The method name.
paramTypes System.Type The param types.
return System.Reflection.MethodInfo

GetParamsString() public static method

The get param string.
public static GetParamsString ( this paramArray ) : string
paramArray this The param array.
return string