C# Class Machine.Specifications.Utility.ReflectionCompatExtensions

显示文件 Open project: machine/machine.specifications

Public Methods

Method Description
AsType ( this memberInfo ) : Type
IsType ( this memberInfo ) : bool
TryGetLocation ( this assembly ) : string

Method Details

AsType() public static method

public static AsType ( this memberInfo ) : Type
memberInfo this
return System.Type

IsType() public static method

public static IsType ( this memberInfo ) : bool
memberInfo this
return bool

TryGetLocation() public static method

public static TryGetLocation ( this assembly ) : string
assembly this
return string