private ITemplate GetTemplate(StackFlairOptions flairOptions, StackData stackData) { ITemplate template = null; switch (flairOptions.Theme.ToLower()) { /*case "glitter": * template = new GlitterTemplate(stackData, flairOptions); * break;*/ case "black": template = new BlackTemplate(stackData, flairOptions); break; case "hotdog": template = new HotDogTemplate(stackData, flairOptions); break; case "holy": template = new HoLyTemplate(stackData, flairOptions); break; case "nimbus": template = new NimbusTemplate(stackData, flairOptions); break; default: template = new DefaultTemplate(stackData, flairOptions); break; } return(template); }
private ITemplate GetTemplate(StackFlairOptions flairOptions, StackData stackData) { ITemplate template = null; switch (flairOptions.Theme.ToLower()) { /*case "glitter": template = new GlitterTemplate(stackData, flairOptions); break;*/ case "black": template = new BlackTemplate(stackData, flairOptions); break; case "hotdog": template = new HotDogTemplate(stackData, flairOptions); break; case "holy": template = new HoLyTemplate(stackData, flairOptions); break; case "nimbus": template = new NimbusTemplate(stackData, flairOptions); break; default: template = new DefaultTemplate(stackData, flairOptions); break; } return template; }