C# Class FluentModelBuilder.Extensions.TypeExtensions

显示文件 Open project: Grinderofl/FluentModelBuilder

Public Methods

Method Description
ClosesInterface ( this type, Type interfaceType ) : bool
GetTypesImplementingInterface ( this assembly, Type interfaceType ) : IEnumerable
IsDbContextType ( this type ) : bool
IsEntityTypeOverrideType ( this type ) : bool
IsSubclassOf ( this type, Type superClassType ) : bool

Method Details

ClosesInterface() public static method

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

GetTypesImplementingInterface() public static method

public static GetTypesImplementingInterface ( this assembly, Type interfaceType ) : IEnumerable
assembly this
interfaceType System.Type
return IEnumerable

IsDbContextType() public static method

public static IsDbContextType ( this type ) : bool
type this
return bool

IsEntityTypeOverrideType() public static method

public static IsEntityTypeOverrideType ( this type ) : bool
type this
return bool

IsSubclassOf() public static method

public static IsSubclassOf ( this type, Type superClassType ) : bool
type this
superClassType System.Type
return bool