Esempio n. 1
0
 private static IEnumerable <string> ExplodeSerialNumbers(SerialNumber serialNumber)
 {
     for (var i = serialNumber.FromNumber; i <= serialNumber.ToNumber; i++)
     {
         yield return(serialNumber.Prefix + i);
     }
 }
Esempio n. 2
0
 private static IEnumerable<string> ExplodeSerialNumbers(SerialNumber serialNumber)
 {
     for (var i = serialNumber.FromNumber; i <= serialNumber.ToNumber; i++)
     {
         yield return serialNumber.Prefix + i;
     }
 }