C# Class BlueCollar.Dashboard.JsonHandler

Implements IDashboardHandler for JSON requests.
Inheritance: DashboardHandlerBase
Exibir arquivo Open project: ChadBurggraf/blue-collar

Protected Methods

Method Description
Json ( object value ) : byte[]

Gets the JSON representation of the given object as an array of bytes.

JsonHandler ( IRepositoryFactory repositoryFactory ) : System

Initializes a new instance of the JsonHandler class.

Method Details

Json() protected static method

Gets the JSON representation of the given object as an array of bytes.
protected static Json ( object value ) : byte[]
value object The object to get the JSON representation of.
return byte[]

JsonHandler() protected method

Initializes a new instance of the JsonHandler class.
protected JsonHandler ( IRepositoryFactory repositoryFactory ) : System
repositoryFactory IRepositoryFactory The repository factory to use.
return System