C# Class MsgPack.Serialization.AbstractSerializers.MethodDefinition

Represents method which may not have built metadata.
ファイルを表示 Open project: msgpack/msgpack-cli Class Usage Examples

Public Properties

Property Type Description
DeclaringType TypeDefinition
Interface System.Type
IsStatic bool
MethodName string
ParameterTypes MsgPack.Serialization.AbstractSerializers.TypeDefinition[]
ReturnType TypeDefinition

Public Methods

Method Description
MethodDefinition ( MethodInfo runtimeMethod ) : System
MethodDefinition ( MethodInfo runtimeMethod, Type @interface ) : System
MethodDefinition ( MethodInfo runtimeMethod, Type @interface, IEnumerable parameterTypes ) : System
MethodDefinition ( string name, TypeDefinition genericArguments, TypeDefinition declaringType, bool isStatic, TypeDefinition returnType ) : System
ResolveRuntimeMethod ( ) : MethodInfo
ToString ( ) : string
TryGetRuntimeMethod ( ) : MethodInfo

Private Methods

Method Description
ResolveRuntimeMethodCore ( bool throws ) : MethodInfo

Method Details

MethodDefinition() public method

public MethodDefinition ( MethodInfo runtimeMethod ) : System
runtimeMethod System.Reflection.MethodInfo
return System

MethodDefinition() public method

public MethodDefinition ( MethodInfo runtimeMethod, Type @interface ) : System
runtimeMethod System.Reflection.MethodInfo
@interface System.Type
return System

MethodDefinition() public method

public MethodDefinition ( MethodInfo runtimeMethod, Type @interface, IEnumerable parameterTypes ) : System
runtimeMethod System.Reflection.MethodInfo
@interface System.Type
parameterTypes IEnumerable
return System

MethodDefinition() public method

public MethodDefinition ( string name, TypeDefinition genericArguments, TypeDefinition declaringType, bool isStatic, TypeDefinition returnType ) : System
name string
genericArguments TypeDefinition
declaringType TypeDefinition
isStatic bool
returnType TypeDefinition
return System

ResolveRuntimeMethod() public method

public ResolveRuntimeMethod ( ) : MethodInfo
return System.Reflection.MethodInfo

ToString() public method

public ToString ( ) : string
return string

TryGetRuntimeMethod() public method

public TryGetRuntimeMethod ( ) : MethodInfo
return System.Reflection.MethodInfo

Property Details

DeclaringType public_oe property

public TypeDefinition,MsgPack.Serialization.AbstractSerializers DeclaringType
return TypeDefinition

Interface public_oe property

public Type,System Interface
return System.Type

IsStatic public_oe property

public bool IsStatic
return bool

MethodName public_oe property

public string MethodName
return string

ParameterTypes public_oe property

public TypeDefinition[],MsgPack.Serialization.AbstractSerializers ParameterTypes
return MsgPack.Serialization.AbstractSerializers.TypeDefinition[]

ReturnType public_oe property

public TypeDefinition,MsgPack.Serialization.AbstractSerializers ReturnType
return TypeDefinition