C# Class FullInspector.Internal.BehaviorTypeToSerializerTypeMap

Returns the serializer that is used for a given behavior type.
Datei anzeigen Open project: jacobdufault/fullinspector

Public Methods

Method Description
GetSerializerType ( Type behaviorType ) : Type

Returns the serializer type that the given behavior type uses.

Register ( Type behaviorType, Type serializerType ) : void

Register a mapping for a particular behavior type to a given serializer type.

Method Details

GetSerializerType() public static method

Returns the serializer type that the given behavior type uses.
public static GetSerializerType ( Type behaviorType ) : Type
behaviorType System.Type
return System.Type

Register() public static method

Register a mapping for a particular behavior type to a given serializer type.
public static Register ( Type behaviorType, Type serializerType ) : void
behaviorType System.Type
serializerType System.Type
return void