C# Class MsgPack.Serialization.AbstractSerializers.MethodDefinition

Represents method which may not have built metadata.
Show file 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 property

public TypeDefinition,MsgPack.Serialization.AbstractSerializers DeclaringType
return TypeDefinition

Interface public property

public Type,System Interface
return System.Type

IsStatic public property

public bool IsStatic
return bool

MethodName public property

public string MethodName
return string

ParameterTypes public property

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

ReturnType public property

public TypeDefinition,MsgPack.Serialization.AbstractSerializers ReturnType
return TypeDefinition