C# 클래스 Gammtek.Conduit.Helpers.ObjectHelper

Object helper class.
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer

공개 메소드들

메소드 설명
AreEqual ( object object1, object object2 ) : bool

Checks whether the 2 specified objects are equal. This method is better, simple because it also checks boxing so 2 integers with the same values that are boxed are equal.

AreEqualReferences ( object object1, object object2 ) : bool

Checks whether the 2 specified objects are equal references. This method is better, simple because it also checks boxing so 2 integers with the same values that are boxed are equal. Two objects are considered equal if one of the following expressions returns true: Both values are null. Both values have the same reference, checked by object.ReferenceEquals. Both values are value types and have the same value. Both values are string type and have the same value.

IsNull ( object obj ) : bool

Determines whether the specified object is null or DBNull.Value.

메소드 상세

AreEqual() 공개 정적인 메소드

Checks whether the 2 specified objects are equal. This method is better, simple because it also checks boxing so 2 integers with the same values that are boxed are equal.
public static AreEqual ( object object1, object object2 ) : bool
object1 object The first object.
object2 object The second object.
리턴 bool

AreEqualReferences() 공개 정적인 메소드

Checks whether the 2 specified objects are equal references. This method is better, simple because it also checks boxing so 2 integers with the same values that are boxed are equal. Two objects are considered equal if one of the following expressions returns true: Both values are null. Both values have the same reference, checked by object.ReferenceEquals. Both values are value types and have the same value. Both values are string type and have the same value.
public static AreEqualReferences ( object object1, object object2 ) : bool
object1 object The first object.
object2 object The second object.
리턴 bool

IsNull() 공개 정적인 메소드

Determines whether the specified object is null or DBNull.Value.
public static IsNull ( object obj ) : bool
obj object The object to chec..
리턴 bool