Table of Contents

Delegate EntityObjectJsonConverter.FromJson

Namespace
TimeCockpit.Data.JsonConverters
Assembly
TimeCockpit.Data.dll

delegate describing a function reading a property value from a json reader.

public delegate object FromJson(JsonReader reader, Model model, Dictionary<string, ModelEntityBase> anonymousTypes, Environment environment);

Parameters

reader JsonReader

The reader.

model Model

The model.

anonymousTypes Dictionary<String, ModelEntityBase>

The anonymous types.

environment Environment

The environment.

Returns

Object

returns the deserialized object.

Constructors

FromJson(Object, IntPtr)

public FromJson(object object, IntPtr method)

Parameters

object Object
method IntPtr

Methods

BeginInvoke(JsonReader, Model, Dictionary<String, ModelEntityBase>, Environment, AsyncCallback, Object)

public virtual IAsyncResult BeginInvoke(JsonReader reader, Model model, Dictionary<string, ModelEntityBase> anonymousTypes, Environment environment, AsyncCallback callback, object object)

Parameters

reader JsonReader
model Model
anonymousTypes Dictionary<String, ModelEntityBase>
environment Environment
callback AsyncCallback
object Object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual object EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

Object

Invoke(JsonReader, Model, Dictionary<String, ModelEntityBase>, Environment)

public virtual object Invoke(JsonReader reader, Model model, Dictionary<string, ModelEntityBase> anonymousTypes, Environment environment)

Parameters

reader JsonReader
model Model
anonymousTypes Dictionary<String, ModelEntityBase>
environment Environment

Returns

Object