コード例 #1
0
ファイル: ViewLayout.cs プロジェクト: yvkashyap/PK-Sim
        private static ViewLayout create(ViewLayoutId viewLayoutId, string displayName)
        {
            var viewLayout = new ViewLayout(viewLayoutId, displayName);

            _allViewLayouts.Add(viewLayout);
            return(viewLayout);
        }
コード例 #2
0
ファイル: ViewLayout.cs プロジェクト: yvkashyap/PK-Sim
 internal ViewLayout(ViewLayoutId viewLayoutId, string displayName)
 {
     ViewLayoutId = viewLayoutId;
     DisplayName  = displayName;
 }
コード例 #3
0
ファイル: ViewLayout.cs プロジェクト: yvkashyap/PK-Sim
 public static ViewLayout ById(ViewLayoutId viewLayoutId)
 {
     return(_allViewLayouts[viewLayoutId]);
 }