Lean
$LEAN_TAG$
|
Provides an implementation of JsonConverter that can deserialize TimeInForce objects More...
Public Member Functions | |
override bool | CanConvert (Type objectType) |
Determines whether this instance can convert the specified object type. More... | |
override void | WriteJson (JsonWriter writer, object value, JsonSerializer serializer) |
Writes the JSON representation of the object. More... | |
override object | ReadJson (JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) |
Reads the JSON representation of the object. More... | |
Public Attributes | |
override bool | CanWrite => true |
Gets a value indicating whether this T:Newtonsoft.Json.JsonConverter can write JSON. More... | |
Provides an implementation of JsonConverter that can deserialize TimeInForce objects
Definition at line 27 of file TimeInForceJsonConverter.cs.
override bool QuantConnect.Orders.TimeInForceJsonConverter.CanConvert | ( | Type | objectType | ) |
Determines whether this instance can convert the specified object type.
objectType | Type of the object. |
true
if this instance can convert the specified object type; otherwise, false
. Definition at line 44 of file TimeInForceJsonConverter.cs.
override void QuantConnect.Orders.TimeInForceJsonConverter.WriteJson | ( | JsonWriter | writer, |
object | value, | ||
JsonSerializer | serializer | ||
) |
Writes the JSON representation of the object.
writer | The T:Newtonsoft.Json.JsonWriter to write to. |
value | The value. |
serializer | The calling serializer. |
Definition at line 53 of file TimeInForceJsonConverter.cs.
override object QuantConnect.Orders.TimeInForceJsonConverter.ReadJson | ( | JsonReader | reader, |
Type | objectType, | ||
object | existingValue, | ||
JsonSerializer | serializer | ||
) |
Reads the JSON representation of the object.
reader | The T:Newtonsoft.Json.JsonReader to read from. |
objectType | Type of the object. |
existingValue | The existing value of object being read. |
serializer | The calling serializer. |
Definition at line 89 of file TimeInForceJsonConverter.cs.
override bool QuantConnect.Orders.TimeInForceJsonConverter.CanWrite => true |
Gets a value indicating whether this T:Newtonsoft.Json.JsonConverter can write JSON.
true
if this T:Newtonsoft.Json.JsonConverter can write JSON; otherwise, false
.
Definition at line 35 of file TimeInForceJsonConverter.cs.