private void CreateDigitsDictionary() { this.digitsDictionary = new Dictionary <DigitRepresentation, List <string> >(); foreach (LCDDigit lcdDigit in lcdNumber.GetLCDDigits()) { if (!this.digitsDictionary.ContainsKey(lcdDigit.DigitRepresentation)) { this.digitsDictionary.Add(lcdDigit.DigitRepresentation, LCDTextListFactory.Create(lcdDigit, this.width, this.height)); } } }
public static string Create(LCDNumber lcdNumber, int width, int height) { return(Create(LCDTextListFactory.Create(lcdNumber, width, height))); }
public static string Create(LCDDigit lcdDigit, int width, int height) { return(Create(LCDTextListFactory.Create(lcdDigit, width, height))); }