C# Class XPHttp.Serializer.SerializerFactory

Show file Open project: brookshi/XPHttp

Public Methods

Method Description
GetSerializer ( string contentType ) : ISerializer
ReplaceSerializer ( Type type, ISerializer serializer ) : void
SetSerializer ( string contentType, ISerializer serializer ) : void

Private Methods

Method Description
SerializerFactory ( ) : System

Method Details

GetSerializer() public static method

public static GetSerializer ( string contentType ) : ISerializer
contentType string
return ISerializer

ReplaceSerializer() public static method

public static ReplaceSerializer ( Type type, ISerializer serializer ) : void
type System.Type
serializer ISerializer
return void

SetSerializer() public static method

public static SetSerializer ( string contentType, ISerializer serializer ) : void
contentType string
serializer ISerializer
return void