public SelectMenu setStyle(string style) { switch (style.ToLower()) { case "color": _style = new ColorMenu(); break; case "prefix": _style = new PrefixMenu(); break; } return(this); }
public View(StyleInterface style, LanguageInterface language) { setLanguage(language); setStyle(style); }
public View setStyle(StyleInterface style) { _style = style; return(this); }
public SelectMenu setStyle(StyleInterface style) { _style = style; return(this); }