C# Class BlueCollar.Dashboard.JsonHandler

Implements IDashboardHandler for JSON requests.
Inheritance: DashboardHandlerBase
Afficher le fichier Open project: ChadBurggraf/blue-collar

Méthodes protégées

Méthode 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 méthode

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.
Résultat byte[]

JsonHandler() protected méthode

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