C# Class Server.Commands.Properties

Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Méthode Description
ConstructFromString ( Type type, object obj, string value, object &constructed ) : string
GetCPA ( PropertyInfo p ) : Server.CommandPropertyAttribute
GetPropertyInfo ( Mobile from, object &obj, string propertyName, PropertyAccess access, string &failReason ) : PropertyInfo
GetPropertyInfo ( object &obj, PropertyInfo chain, string &failReason ) : PropertyInfo
GetPropertyInfoChain ( Mobile from, Type type, string propertyString, PropertyAccess endAccess, string &failReason ) : System.Reflection.PropertyInfo[]
GetValue ( Mobile from, object o, string name ) : string
IncreaseValue ( Mobile from, object o, string args ) : string
Initialize ( ) : void
InternalSetValue ( Mobile from, object logobj, object o, PropertyInfo p, string pname, string value, bool shouldLog ) : string
InternalSetValue ( object o, PropertyInfo p, string value ) : string
SetDirect ( Mobile from, object logObject, object obj, PropertyInfo prop, string givenName, object toSet, bool shouldLog ) : string
SetDirect ( object obj, PropertyInfo prop, object toSet ) : string
SetValue ( Mobile from, object o, string name, string value ) : string

Private Methods

Méthode Description
CIEqual ( string l, string r ) : bool
InternalGetValue ( object o, PropertyInfo p ) : string
InternalGetValue ( object o, PropertyInfo p, PropertyInfo chain ) : string
IsChar ( Type t ) : bool
IsEnum ( Type t ) : bool
IsNumeric ( Type t ) : bool
IsParsable ( Type t ) : bool
IsSerial ( Type t ) : bool
IsString ( Type t ) : bool
IsText ( Type t ) : bool
IsType ( Type t ) : bool
Parse ( object o, Type t, string value ) : object
Props_OnCommand ( Server.Commands.CommandEventArgs e ) : void

Method Details

ConstructFromString() public static méthode

public static ConstructFromString ( Type type, object obj, string value, object &constructed ) : string
type System.Type
obj object
value string
constructed object
Résultat string

GetCPA() public static méthode

public static GetCPA ( PropertyInfo p ) : Server.CommandPropertyAttribute
p System.Reflection.PropertyInfo
Résultat Server.CommandPropertyAttribute

GetPropertyInfo() public static méthode

public static GetPropertyInfo ( Mobile from, object &obj, string propertyName, PropertyAccess access, string &failReason ) : PropertyInfo
from Mobile
obj object
propertyName string
access PropertyAccess
failReason string
Résultat System.Reflection.PropertyInfo

GetPropertyInfo() public static méthode

public static GetPropertyInfo ( object &obj, PropertyInfo chain, string &failReason ) : PropertyInfo
obj object
chain System.Reflection.PropertyInfo
failReason string
Résultat System.Reflection.PropertyInfo

GetPropertyInfoChain() public static méthode

public static GetPropertyInfoChain ( Mobile from, Type type, string propertyString, PropertyAccess endAccess, string &failReason ) : System.Reflection.PropertyInfo[]
from Mobile
type System.Type
propertyString string
endAccess PropertyAccess
failReason string
Résultat System.Reflection.PropertyInfo[]

GetValue() public static méthode

public static GetValue ( Mobile from, object o, string name ) : string
from Mobile
o object
name string
Résultat string

IncreaseValue() public static méthode

public static IncreaseValue ( Mobile from, object o, string args ) : string
from Mobile
o object
args string
Résultat string

Initialize() public static méthode

public static Initialize ( ) : void
Résultat void

InternalSetValue() public static méthode

public static InternalSetValue ( Mobile from, object logobj, object o, PropertyInfo p, string pname, string value, bool shouldLog ) : string
from Mobile
logobj object
o object
p System.Reflection.PropertyInfo
pname string
value string
shouldLog bool
Résultat string

InternalSetValue() public static méthode

public static InternalSetValue ( object o, PropertyInfo p, string value ) : string
o object
p System.Reflection.PropertyInfo
value string
Résultat string

SetDirect() public static méthode

public static SetDirect ( Mobile from, object logObject, object obj, PropertyInfo prop, string givenName, object toSet, bool shouldLog ) : string
from Mobile
logObject object
obj object
prop System.Reflection.PropertyInfo
givenName string
toSet object
shouldLog bool
Résultat string

SetDirect() public static méthode

public static SetDirect ( object obj, PropertyInfo prop, object toSet ) : string
obj object
prop System.Reflection.PropertyInfo
toSet object
Résultat string

SetValue() public static méthode

public static SetValue ( Mobile from, object o, string name, string value ) : string
from Mobile
o object
name string
value string
Résultat string