示例#1
0
 public static void SetRoutType <T>(ViewDataDictionary <T> viewData, RoutType routType)
 {
     viewData["routType"] = routType;
     viewData["Title"]    = routType.ToString();
 }
示例#2
0
 public static bool CheckRout(ViewDataDictionary <dynamic> viewData, RoutType routType)
 {
     return((RoutType)viewData["routType"] == routType);
 }