C# Class Ramone.RamoneConfiguration

Afficher le fichier Open project: JornWildt/Ramone Class Usage Examples

Méthodes publiques

Méthode Description
NewService ( ) : IService
NewService ( Uri baseUrl ) : IService
NewSession ( ) : ISession
NewSession ( Uri baseUrl ) : ISession

Create a new session with implicit service.

This will create a new session just as if it was created normally from a service. The only difference is that a new implicit service is create automatically on each call to NewSession(). This method is primarily for "getting started" scenarios. Any serious usage of Ramone should create and configure a specific service.

RegisterStandardCodecs ( ICodecManager cm ) : void
RegisterStandardSerializationFormaters ( IObjectSerializerFormaterManager formatManager ) : void
Reset ( ) : void

Private Methods

Méthode Description
RamoneConfiguration ( ) : System

Method Details

NewService() public static méthode

public static NewService ( ) : IService
Résultat IService

NewService() public static méthode

public static NewService ( Uri baseUrl ) : IService
baseUrl System.Uri
Résultat IService

NewSession() public static méthode

public static NewSession ( ) : ISession
Résultat ISession

NewSession() public static méthode

Create a new session with implicit service.
This will create a new session just as if it was created normally from a service. The only difference is that a new implicit service is create automatically on each call to NewSession(). This method is primarily for "getting started" scenarios. Any serious usage of Ramone should create and configure a specific service.
public static NewSession ( Uri baseUrl ) : ISession
baseUrl System.Uri Base URL for implicit service.
Résultat ISession

RegisterStandardCodecs() public static méthode

public static RegisterStandardCodecs ( ICodecManager cm ) : void
cm ICodecManager
Résultat void

RegisterStandardSerializationFormaters() public static méthode

public static RegisterStandardSerializationFormaters ( IObjectSerializerFormaterManager formatManager ) : void
formatManager IObjectSerializerFormaterManager
Résultat void

Reset() public static méthode

public static Reset ( ) : void
Résultat void