コード例 #1
0
 void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 {
     writer.WriteStartObject();
     writer.WritePropertyName("startTime");
     writer.WriteStringValue(StartTime, "O");
     writer.WritePropertyName("endTime");
     writer.WriteStringValue(EndTime, "O");
     writer.WritePropertyName("timeMode");
     writer.WriteStringValue(TimeMode.ToString());
     writer.WriteEndObject();
 }
コード例 #2
0
 /// <summary>
 /// </summary>
 public GetAlertsOptions(DateTimeOffset startTime, DateTimeOffset endTime, TimeMode timeMode)
 {
     StartTime = startTime;
     EndTime   = endTime;
     TimeMode  = timeMode;
 }
コード例 #3
0
 public AlertingResultQuery(DateTimeOffset startTime, DateTimeOffset endTime, TimeMode timeMode)
 {
     StartTime = startTime;
     EndTime   = endTime;
     TimeMode  = timeMode;
 }