示例#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()
     });
 }