private static ViewLayout create(ViewLayoutId viewLayoutId, string displayName) { var viewLayout = new ViewLayout(viewLayoutId, displayName); _allViewLayouts.Add(viewLayout); return(viewLayout); }
internal ViewLayout(ViewLayoutId viewLayoutId, string displayName) { ViewLayoutId = viewLayoutId; DisplayName = displayName; }
public static ViewLayout ById(ViewLayoutId viewLayoutId) { return(_allViewLayouts[viewLayoutId]); }