C# 클래스 DSShared.Lists.ObjProperty

Class that a CustomList uses to figure out the value of a particular row+column
파일 보기 프로젝트 열기: pmprog/OpenXCOM.Tools 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object other ) : bool

Test for equality between two objects. Test is based on the property's hashcode

GetHashCode ( ) : int

returns the constructor parameter: property.GetHashCode() or 0 if null

ObjProperty ( PropertyInfo property ) : System

Initializes a new instance of the T:ObjProperty class.

ObjProperty ( PropertyInfo property, ObjProperty nested ) : System

Initializes a new instance of the T:ObjProperty class.

ObjProperty ( PropertyInfo property, object propertyIndex ) : System

Initializes a new instance of the T:ObjProperty class.

ObjProperty ( PropertyInfo property, object propertyIndex, ObjProperty nested ) : System

Initializes a new instance of the T:ObjProperty class.

SetValue ( object obj, object val ) : void

Sets the value of the provided object's property to the provided value

Value ( object o ) : object

Gets the value of the provided object's property.

메소드 상세

Equals() 공개 메소드

Test for equality between two objects. Test is based on the property's hashcode
public Equals ( object other ) : bool
other object The other object to test with
리턴 bool

GetHashCode() 공개 메소드

returns the constructor parameter: property.GetHashCode() or 0 if null
public GetHashCode ( ) : int
리턴 int

ObjProperty() 공개 메소드

Initializes a new instance of the T:ObjProperty class.
public ObjProperty ( PropertyInfo property ) : System
property System.Reflection.PropertyInfo The propertyInfo object that will reflect on objects later on to display information with
리턴 System

ObjProperty() 공개 메소드

Initializes a new instance of the T:ObjProperty class.
public ObjProperty ( PropertyInfo property, ObjProperty nested ) : System
property System.Reflection.PropertyInfo The propertyInfo object that will reflect on objects later on to display information with
nested ObjProperty If the information required resides in a property's property, this parameter represents that information
리턴 System

ObjProperty() 공개 메소드

Initializes a new instance of the T:ObjProperty class.
public ObjProperty ( PropertyInfo property, object propertyIndex ) : System
property System.Reflection.PropertyInfo The propertyInfo object that will reflect on objects later on to display information with
propertyIndex object An array of index parameters if the property parameter represents an indexex property
리턴 System

ObjProperty() 공개 메소드

Initializes a new instance of the T:ObjProperty class.
public ObjProperty ( PropertyInfo property, object propertyIndex, ObjProperty nested ) : System
property System.Reflection.PropertyInfo The propertyInfo object that will reflect on objects later on to display information with
propertyIndex object An array of index parameters if the property parameter represents an indexex property
nested ObjProperty If the information required resides in a property's property, this parameter represents that information
리턴 System

SetValue() 공개 메소드

Sets the value of the provided object's property to the provided value
public SetValue ( object obj, object val ) : void
obj object The obj.
val object The val.
리턴 void

Value() 공개 메소드

Gets the value of the provided object's property.
public Value ( object o ) : object
o object The object
리턴 object