public static ContentView GetView(string viewName) { if (viewName == string.Empty) { throw new ArgumentException(); } foreach (var view in views) { if (view.Key == viewName) { return(view.Value); } } return(ViewCreator.tryGetView(viewName)); }
public static ContentView GetView(string viewName) { if (viewName == string.Empty) { throw new ArgumentException(); } foreach (var view in views) { if (view.Key == viewName) { return(view.Value); } } return(ViewCreator.tryGetView(viewName)); }