mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 02:57:56 +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 ENUM_DATATYPE DataType { get; set; }
|
||||
public long? IntegerValue { get; set; }
|
||||
public double? DoubleValue { get; set; }
|
||||
public string? StringValue { get; set; }
|
||||
public long IntegerValue { get; set; } = 0;
|
||||
public double DoubleValue { get; set; } = 0.0;
|
||||
public string StringValue { get; set; } = String.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user