Пример #1
0
 public VMEODIngredientCard(string code)
 {
     byte bT, bS;
     if (!byte.TryParse(code.Substring(0,1), out bT) || !byte.TryParse(code.Substring(1, 1), out bS)) return;
     Type = (VMEODIngredientType)bT;
     Size = (VMEODIngredientSize)bS;
 }
Пример #2
0
 public VMEODIngredientCard(string code)
 {
     if (!byte.TryParse(code.Substring(0, 1), out var bT) || !byte.TryParse(code.Substring(1, 1), out var bS))
     {
         return;
     }
     Type = (VMEODIngredientType)bT;
     Size = (VMEODIngredientSize)bS;
 }
Пример #3
0
 public VMEODIngredientCard(VMEODIngredientType type, VMEODIngredientSize size)
 {
     Type = type; Size = size;
 }
Пример #4
0
 public VMEODIngredientCard(VMEODIngredientType type, VMEODIngredientSize size)
 {
     Type = type; Size = size;
 }