BAIRequestOutput
Identità
Namespace:
B.BAIAssembly:
BFrameworkTipo: class
Dichiarazione
public BAIRequestOutput(Type type)
Proprietà
| Proprietà | Tipo | Accesso |
|---|---|---|
IsNothing |
bool |
get/private set |
Type |
Type |
get/private set |
Schema |
Dictionary<string, object> |
get/private set |
Il costruttore salva il tipo e genera Schema tramite BReflection.CreateJsonSchema(type).
Metodi
Dictionary<string, object> CreateResultSchema()— racchiudeSchemanel contratto{ IsNothing, Value }richiesto daBTypeResult<T>e vieta proprietà aggiuntive.
Il costruttore imposta IsNothing se non riesce a creare uno schema. BAIConnection.ExecuteAsync<T> usa internamente questa classe: non esiste una proprietà RequestOutput sulla connection corrente.
