コード例 #1
0
 public static void SetWeekType(this ServerConfigCollection collection, bool isBigWeek) => collection["WeekType"] = isBigWeek ? "big" : "small";
コード例 #2
0
 public static bool IsBigWeek(this ServerConfigCollection collection) => collection["WeekType"] == "big";