C# Class Automatonymous.Tests.InterfaceExtensions

Show file Open project: MassTransit/Automatonymous

Public Methods

Method Description
GetClosingArguments ( this type, Type openType ) : IEnumerable
GetInterface ( this type, Type interfaceType ) : Type
IsOpenGeneric ( this type ) : bool

Determines if the type is an open generic with at least one unspecified generic argument

Private Methods

Method Description
InterfaceExtensions ( ) : System

Method Details

GetClosingArguments() public static method

public static GetClosingArguments ( this type, Type openType ) : IEnumerable
type this
openType System.Type
return IEnumerable

GetInterface() public static method

public static GetInterface ( this type, Type interfaceType ) : Type
type this
interfaceType System.Type
return System.Type

IsOpenGeneric() public static method

Determines if the type is an open generic with at least one unspecified generic argument
public static IsOpenGeneric ( this type ) : bool
type this The type
return bool