C# Class System.Reflection.MonoField

Inheritance: FieldInfo, ISerializable
Afficher le fichier Open project: runefs/Marvin Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType System.Type
inherit bool
Résultat object[]

GetCustomAttributes() public méthode

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
Résultat object[]

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

GetValue() public méthode

public GetValue ( object obj ) : object
obj object
Résultat object

IsDefined() public méthode

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
Résultat bool

SetValue() public méthode

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
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string