C# Class SharpTAL.Utils

ファイルを表示 Open project: lck/SharpTAL

Public Methods

Method Description
ByteArrayToString ( byte arrInput ) : string
Char2Entity ( string chr ) : string
ComputeHash ( Type>.Dictionary globalsTypes ) : string
ComputeHash ( List assemblies ) : string
ComputeHash ( string source ) : string
GetExtensionMethodNamespaces ( Assembly assembly, List namespaces ) : void
GetFullTypeName ( Type type, string>.Dictionary names ) : string
GetGenericType ( Type type ) : Type
GetGenericTypeArguments ( Type type ) : List
ReadAssembly ( string asmPath ) : Assembly
ReadStream ( Stream stream ) : byte[]

Method Details

ByteArrayToString() public static method

public static ByteArrayToString ( byte arrInput ) : string
arrInput byte
return string

Char2Entity() public static method

public static Char2Entity ( string chr ) : string
chr string
return string

ComputeHash() public static method

public static ComputeHash ( Type>.Dictionary globalsTypes ) : string
globalsTypes Type>.Dictionary
return string

ComputeHash() public static method

public static ComputeHash ( List assemblies ) : string
assemblies List
return string

ComputeHash() public static method

public static ComputeHash ( string source ) : string
source string
return string

GetExtensionMethodNamespaces() public static method

public static GetExtensionMethodNamespaces ( Assembly assembly, List namespaces ) : void
assembly System.Reflection.Assembly
namespaces List
return void

GetFullTypeName() public static method

public static GetFullTypeName ( Type type, string>.Dictionary names ) : string
type System.Type
names string>.Dictionary
return string

GetGenericType() public static method

public static GetGenericType ( Type type ) : Type
type System.Type
return System.Type

GetGenericTypeArguments() public static method

public static GetGenericTypeArguments ( Type type ) : List
type System.Type
return List

ReadAssembly() public static method

public static ReadAssembly ( string asmPath ) : Assembly
asmPath string
return System.Reflection.Assembly

ReadStream() public static method

public static ReadStream ( Stream stream ) : byte[]
stream Stream
return byte[]