예제 #1
0
 public override object ToParam()
 {
     return(new
     {
         a = UserName.ToUpper(),
         b = ComputerName.ToUpper(),
         weight = Weight
     });
 }
예제 #2
0
 internal object ToParam()
 {
     return(new
     {
         account = UserName.ToUpper(),
         computer = ComputerName.ToUpper(),
         weight = Weight
     });
 }
예제 #3
0
 public override string ToCsv()
 {
     return($"{UserName.ToUpper()},{ComputerName.ToUpper()},{Weight}");
 }
예제 #4
0
 internal string ToCSV()
 {
     return(String.Format("{0},{1},{2}", UserName.ToUpper(), ComputerName.ToUpper(), Weight));
 }