C# Класс Zazzles.Middleware.Response

Contains the information that the FOG Server responds with
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Codes string>.Dictionary

Открытые методы

Метод Описание
GetField ( string id ) : string

Return the value stored at a specified key

GetSubResponse ( string id ) : Response
IsFieldValid ( string id ) : bool

Check if a field is not null or empty

PrettyPrint ( ) : void

Print out all ids and values

Response ( ) : System
Response ( JObject data, bool encrypted ) : System
Response ( bool error, JObject data, string returnCode, bool encrypted ) : System
Response ( string rawData, bool encrypted ) : System

Приватные методы

Метод Описание
PrintStatus ( ) : void

Описание методов

GetField() публичный Метод

Return the value stored at a specified key
public GetField ( string id ) : string
id string The ID to return
Результат string

GetSubResponse() публичный Метод

public GetSubResponse ( string id ) : Response
id string
Результат Response

IsFieldValid() публичный Метод

Check if a field is not null or empty
public IsFieldValid ( string id ) : bool
id string The field to check
Результат bool

PrettyPrint() публичный Метод

Print out all ids and values
public PrettyPrint ( ) : void
Результат void

Response() публичный Метод

public Response ( ) : System
Результат System

Response() публичный Метод

public Response ( JObject data, bool encrypted ) : System
data JObject
encrypted bool
Результат System

Response() публичный Метод

public Response ( bool error, JObject data, string returnCode, bool encrypted ) : System
error bool
data JObject
returnCode string
encrypted bool
Результат System

Response() публичный Метод

public Response ( string rawData, bool encrypted ) : System
rawData string
encrypted bool
Результат System

Описание свойств

Codes публичное статическое свойство

public static Dictionary Codes
Результат string>.Dictionary