C# Class Mono.Helper

ファイルを表示 Open project: shana/moon

Public Methods

Method Description
AreEqual ( Type type, object x, object y ) : bool
AreEqual ( object x, object y ) : bool
CanonicalizeAssemblyPath ( string path ) : string
CanonicalizeResourceName ( string resource ) : string
CheckAccess ( ) : bool
CheckFileIntegrity ( string filename ) : bool
GetConverterFor ( MemberInfo info, Type target_type ) : TypeConverter
IsUserInitiated ( ) : bool
StreamToIntPtr ( Stream stream ) : IntPtr

Private Methods

Method Description
CanonicalizeFileName ( string filename, bool is_xap_mode ) : string
CanonicalizeName ( StringBuilder sb, string str, int n ) : void
HashStream ( Stream stream, int length ) : byte[]
IsSigned ( Stream stream ) : bool

Method Details

AreEqual() public static method

public static AreEqual ( Type type, object x, object y ) : bool
type System.Type
x object
y object
return bool

AreEqual() public static method

public static AreEqual ( object x, object y ) : bool
x object
y object
return bool

CanonicalizeAssemblyPath() public static method

public static CanonicalizeAssemblyPath ( string path ) : string
path string
return string

CanonicalizeResourceName() public static method

public static CanonicalizeResourceName ( string resource ) : string
resource string
return string

CheckAccess() public static method

public static CheckAccess ( ) : bool
return bool

CheckFileIntegrity() public static method

public static CheckFileIntegrity ( string filename ) : bool
filename string
return bool

GetConverterFor() public static method

public static GetConverterFor ( MemberInfo info, Type target_type ) : TypeConverter
info System.Reflection.MemberInfo
target_type System.Type
return System.ComponentModel.TypeConverter

IsUserInitiated() public static method

public static IsUserInitiated ( ) : bool
return bool

StreamToIntPtr() public static method

public static StreamToIntPtr ( Stream stream ) : IntPtr
stream Stream
return System.IntPtr