C# Class NJsonApi.Configuration

Inheritance: IConfiguration
Datei anzeigen Open project: jacek-gorgon/NJsonApi Class Usage Examples

Public Methods

Method Description
AddMapping ( IResourceMapping resourceMapping ) : void
Apply ( HttpConfiguration configuration ) : void
GetMapping ( Type type ) : IResourceMapping
IsMappingRegistered ( Type type ) : bool

Private Methods

Method Description
GetJsonSerializer ( ) : JsonSerializer

Method Details

AddMapping() public method

public AddMapping ( IResourceMapping resourceMapping ) : void
resourceMapping IResourceMapping
return void

Apply() public method

public Apply ( HttpConfiguration configuration ) : void
configuration HttpConfiguration
return void

GetMapping() public method

public GetMapping ( Type type ) : IResourceMapping
type System.Type
return IResourceMapping

IsMappingRegistered() public method

public IsMappingRegistered ( Type type ) : bool
type System.Type
return bool