mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-18 13:18:12 +00:00
MtApi5: added default value to properites of MqlParam for correct json serialization
This commit is contained in:
+3
-3
@@ -3,8 +3,8 @@
|
|||||||
public class MqlParam
|
public class MqlParam
|
||||||
{
|
{
|
||||||
public ENUM_DATATYPE DataType { get; set; }
|
public ENUM_DATATYPE DataType { get; set; }
|
||||||
public long? IntegerValue { get; set; }
|
public long IntegerValue { get; set; } = 0;
|
||||||
public double? DoubleValue { get; set; }
|
public double DoubleValue { get; set; } = 0.0;
|
||||||
public string? StringValue { get; set; }
|
public string StringValue { get; set; } = String.Empty;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user