Delegate EntityObjectJsonConverter.FromJson
delegate describing a function reading a property value from a json reader.
Assembly: TimeCockpit.Data.dll
Syntax
public delegate object FromJson(JsonReader reader, Model model, Dictionary<string, ModelEntityBase> anonymousTypes, Environment environment);
Parameters
| Type |
Name |
Description |
| Newtonsoft.Json.JsonReader |
reader |
The reader.
|
| Model |
model |
The model.
|
| System.Collections.Generic.Dictionary<System.String, ModelEntityBase> |
anonymousTypes |
The anonymous types.
|
| Environment |
environment |
The environment.
|
Returns
| Type |
Description |
| System.Object |
returns the deserialized object.
|
Constructors
FromJson(Object, IntPtr)
Declaration
public FromJson(object object, IntPtr method)
Parameters
| Type |
Name |
Description |
| System.Object |
object |
|
| System.IntPtr |
method |
|
Methods
BeginInvoke(JsonReader, Model, Dictionary<String, ModelEntityBase>, Environment, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(JsonReader reader, Model model, Dictionary<string, ModelEntityBase> anonymousTypes, Environment environment, AsyncCallback callback, object object)
Parameters
| Type |
Name |
Description |
| Newtonsoft.Json.JsonReader |
reader |
|
| Model |
model |
|
| System.Collections.Generic.Dictionary<System.String, ModelEntityBase> |
anonymousTypes |
|
| Environment |
environment |
|
| System.AsyncCallback |
callback |
|
| System.Object |
object |
|
Returns
| Type |
Description |
| System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual object EndInvoke(IAsyncResult result)
Parameters
| Type |
Name |
Description |
| System.IAsyncResult |
result |
|
Returns
| Type |
Description |
| System.Object |
|
Invoke(JsonReader, Model, Dictionary<String, ModelEntityBase>, Environment)
Declaration
public virtual object Invoke(JsonReader reader, Model model, Dictionary<string, ModelEntityBase> anonymousTypes, Environment environment)
Parameters
| Type |
Name |
Description |
| Newtonsoft.Json.JsonReader |
reader |
|
| Model |
model |
|
| System.Collections.Generic.Dictionary<System.String, ModelEntityBase> |
anonymousTypes |
|
| Environment |
environment |
|
Returns
| Type |
Description |
| System.Object |
|