C# Class MsgPack.Serialization.Reflection.ReflectionExtensions

Defines utility extension method for reflection API.
Afficher le fichier Open project: msgpack/msgpack-cli

Méthodes publiques

Méthode Description
IsAssignableTo ( this source, Type target ) : bool

Determines whether specified Type can be assigned to source Type.

ToILString ( this source ) : string

Get IL friendly attributes string.

Private Methods

Méthode Description
AddString ( StringBuilder buffer, MethodAttributes source, MethodAttributes flag, string stringified ) : void
AddString ( StringBuilder buffer, MethodImplAttributes source, MethodImplAttributes flag, string stringified ) : void

Method Details

IsAssignableTo() public static méthode

Determines whether specified Type can be assigned to source Type.
public static IsAssignableTo ( this source, Type target ) : bool
source this The source type.
target System.Type The type to compare with the source type.
Résultat bool

ToILString() public static méthode

Get IL friendly attributes string.
public static ToILString ( this source ) : string
source this .
Résultat string