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