C# Class System.Reflection.MonoField

Inheritance: FieldInfo, ISerializable
Mostra file Open project: runefs/Marvin Class Usage Examples

Public Methods

Method Description
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetValue ( object obj ) : object
IsDefined ( Type attributeType, bool inherit ) : bool
SetValue ( object obj, object val, BindingFlags invokeAttr, Binder binder, CultureInfo culture ) : void
ToString ( ) : string

Private Methods

Method Description
CheckGeneric ( ) : void
Clone ( string newName ) : MonoField
GetFieldOffset ( ) : int
GetParentType ( bool declaring ) : Type
GetRawConstantValue ( ) : object
GetValueInternal ( object obj ) : object
SetValueInternal ( FieldInfo fi, object obj, object value ) : void

Method Details

GetCustomAttributes() public method

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType System.Type
inherit bool
return object[]

GetCustomAttributes() public method

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
return object[]

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

GetValue() public method

public GetValue ( object obj ) : object
obj object
return object

IsDefined() public method

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
return bool

SetValue() public method

public SetValue ( object obj, object val, BindingFlags invokeAttr, Binder binder, CultureInfo culture ) : void
obj object
val object
invokeAttr BindingFlags
binder Binder
culture System.Globalization.CultureInfo
return void

ToString() public method

public ToString ( ) : string
return string