C# Класс Server.Commands.Properties

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ConstructFromString() публичный статический Метод

public static ConstructFromString ( Type type, object obj, string value, object &constructed ) : string
type System.Type
obj object
value string
constructed object
Результат string

GetCPA() публичный статический Метод

public static GetCPA ( PropertyInfo p ) : Server.CommandPropertyAttribute
p System.Reflection.PropertyInfo
Результат Server.CommandPropertyAttribute

GetPropertyInfo() публичный статический Метод

public static GetPropertyInfo ( Mobile from, object &obj, string propertyName, PropertyAccess access, string &failReason ) : PropertyInfo
from Mobile
obj object
propertyName string
access PropertyAccess
failReason string
Результат System.Reflection.PropertyInfo

GetPropertyInfo() публичный статический Метод

public static GetPropertyInfo ( object &obj, PropertyInfo chain, string &failReason ) : PropertyInfo
obj object
chain System.Reflection.PropertyInfo
failReason string
Результат System.Reflection.PropertyInfo

GetPropertyInfoChain() публичный статический Метод

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
Результат System.Reflection.PropertyInfo[]

GetValue() публичный статический Метод

public static GetValue ( Mobile from, object o, string name ) : string
from Mobile
o object
name string
Результат string

IncreaseValue() публичный статический Метод

public static IncreaseValue ( Mobile from, object o, string args ) : string
from Mobile
o object
args string
Результат string

Initialize() публичный статический Метод

public static Initialize ( ) : void
Результат void

InternalSetValue() публичный статический Метод

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
Результат string

InternalSetValue() публичный статический Метод

public static InternalSetValue ( object o, PropertyInfo p, string value ) : string
o object
p System.Reflection.PropertyInfo
value string
Результат string

SetDirect() публичный статический Метод

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
Результат string

SetDirect() публичный статический Метод

public static SetDirect ( object obj, PropertyInfo prop, object toSet ) : string
obj object
prop System.Reflection.PropertyInfo
toSet object
Результат string

SetValue() публичный статический Метод

public static SetValue ( Mobile from, object o, string name, string value ) : string
from Mobile
o object
name string
value string
Результат string