C# Класс Fan.Sys.Method

Method is an invocable operation on a Type.
Наследование: Slot
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
@params ( ) : List
@typeof ( ) : Type
Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars ) : System

Constructor used by Type.reflect.

Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars, Method generic ) : System

Constructor used by GenericType and we are given the generic method that is being parameterized.

call ( ) : object
call ( object a ) : object
call ( object a, object b ) : object
call ( object a, object b, object c ) : object
call ( object a, object b, object c, object d ) : object
call ( object a, object b, object c, object d, object e ) : object
call ( object a, object b, object c, object d, object e, object f ) : object
call ( object a, object b, object c, object d, object e, object f, object g ) : object
call ( object a, object b, object c, object d, object e, object f, object g, object h ) : object
callList ( List args ) : object
callOn ( object target, List args ) : object
func ( ) : Func
getGenericMethod ( ) : Method

If isGenericInstance is true, then return the generic method which this method instantiates. The generic method may be used to access the actual signatures used in the Java code (via getRawType). If this method is not a generic instance, return null.

inheritedReturns ( ) : Type
isGenericInstance ( ) : bool

Return if this method is the parameterization of a generic method, with all the generic parameters filled in with real types.

isGenericMethod ( ) : bool

Return if this method contains generic parameters in it's signature.

minParams ( ) : int
returns ( ) : Type
signature ( ) : string
trap ( string name, List args ) : object

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

Метод Описание
invoke ( object instance, object args ) : object
isInstance ( ) : bool
toMask ( Type parent, Type returns, List pars ) : int

Compute if the method signature contains generic parameter types.

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

@params() публичный Метод

public @params ( ) : List
Результат List

@typeof() публичный Метод

public @typeof ( ) : Type
Результат Type

Method() публичный Метод

Constructor used by Type.reflect.
public Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars ) : System
parent Type
name string
flags int
facets Facets
lineNum int
returns Type
inheritedReturns Type
pars List
Результат System

Method() публичный Метод

Constructor used by GenericType and we are given the generic method that is being parameterized.
public Method ( Type parent, string name, int flags, Facets facets, int lineNum, Type returns, Type inheritedReturns, List pars, Method generic ) : System
parent Type
name string
flags int
facets Facets
lineNum int
returns Type
inheritedReturns Type
pars List
generic Method
Результат System

call() публичный Метод

public call ( ) : object
Результат object

call() публичный Метод

public call ( object a ) : object
a object
Результат object

call() публичный Метод

public call ( object a, object b ) : object
a object
b object
Результат object

call() публичный Метод

public call ( object a, object b, object c ) : object
a object
b object
c object
Результат object

call() публичный Метод

public call ( object a, object b, object c, object d ) : object
a object
b object
c object
d object
Результат object

call() публичный Метод

public call ( object a, object b, object c, object d, object e ) : object
a object
b object
c object
d object
e object
Результат object

call() публичный Метод

public call ( object a, object b, object c, object d, object e, object f ) : object
a object
b object
c object
d object
e object
f object
Результат object

call() публичный Метод

public call ( object a, object b, object c, object d, object e, object f, object g ) : object
a object
b object
c object
d object
e object
f object
g object
Результат object

call() публичный Метод

public call ( object a, object b, object c, object d, object e, object f, object g, object h ) : object
a object
b object
c object
d object
e object
f object
g object
h object
Результат object

callList() публичный Метод

public callList ( List args ) : object
args List
Результат object

callOn() публичный Метод

public callOn ( object target, List args ) : object
target object
args List
Результат object

func() публичный Метод

public func ( ) : Func
Результат Func

getGenericMethod() публичный Метод

If isGenericInstance is true, then return the generic method which this method instantiates. The generic method may be used to access the actual signatures used in the Java code (via getRawType). If this method is not a generic instance, return null.
public getGenericMethod ( ) : Method
Результат Method

inheritedReturns() публичный Метод

public inheritedReturns ( ) : Type
Результат Type

isGenericInstance() публичный Метод

Return if this method is the parameterization of a generic method, with all the generic parameters filled in with real types.
public isGenericInstance ( ) : bool
Результат bool

isGenericMethod() публичный Метод

Return if this method contains generic parameters in it's signature.
public isGenericMethod ( ) : bool
Результат bool

minParams() публичный Метод

public minParams ( ) : int
Результат int

returns() публичный Метод

public returns ( ) : Type
Результат Type

signature() публичный Метод

public signature ( ) : string
Результат string

trap() публичный Метод

public trap ( string name, List args ) : object
name string
args List
Результат object