/// <summary> /// override variables /// </summary> /// <param name="factory">the element of abstract factory</param> public Parameters(AppFactory factory) { color = factory.Color(); display = factory.Display(); forms = factory.Forms(); autoCorrect = factory.AutoCorrect(); consoleOn = factory.ConsoleOn(); codeInsight = factory.CodeInsight(); cursor = factory.Cursor(); resolution = factory.Resolution(); width = factory.Width(); height = factory.Height(); }
/// <summary> /// Method to override variables /// </summary> /// <param name="factory">the element of abstract factory</param> public Parametres(AppFactory factory) { _color = factory.Color(); _display = factory.Display(); _forms = factory.Forms(); _autoCorrect = factory.AutoCorrect(); _consoleOn = factory.ConsoleOn(); _codeInsight = factory.CodeInsight(); _cursor = factory.Cursor(); _resolution = factory.Resolution(); _width = factory.Width(); _height = factory.Height(); }