예제 #1
0
 public DynamicJsonValue ToJson()
 {
     return(new DynamicJsonValue
     {
         [nameof(DiskSpaceResult)] = DiskSpaceResult.ToJson(),
         [nameof(UsedSpace)] = UsedSpace
     });
 }
예제 #2
0
 public DynamicJsonValue ToJson()
 {
     return(new DynamicJsonValue
     {
         [nameof(Name)] = Name,
         [nameof(Type)] = Type,
         [nameof(UsedSpace)] = UsedSpace,
         [nameof(UsedSpaceByTempBuffers)] = UsedSpaceByTempBuffers,
         [nameof(DiskSpaceResult)] = DiskSpaceResult.ToJson()
     });
 }