Ejemplo n.º 1
0
 public void setStatisticType(string chars)
 {
     SportsStatsTypeJSON.TypeValueKnownValues known     = SportsStatsTypeJSON.stringToValue(chars);
     SportsStatsTypeJSON.TypeValue            new_value = new SportsStatsTypeJSON.TypeValue();
     if (known == SportsStatsTypeJSON.TypeValueKnownValues.Value__none)
     {
         new_value.in_known_list = false;
         new_value.string_value  = chars;
     }
     else
     {
         new_value.in_known_list = true;
         new_value.list_value    = known;
     }
     setStatisticType(new_value);
 }
Ejemplo n.º 2
0
 public void setStatisticType(SportsStatsTypeJSON.TypeValue new_value)
 {
     setStatisticType(new SportsStatsTypeJSON(new_value));
 }