public static bool IsLoggedIn(this HohoemaAppServiceLevel serviceLevel) { return(serviceLevel >= HohoemaAppServiceLevel.LoggedIn); }
public static bool IsOutOfService(this HohoemaAppServiceLevel serviceLevel) { return(serviceLevel < HohoemaAppServiceLevel.WithoutLoggedIn); }
protected void ChangeRequireServiceLevel(HohoemaAppServiceLevel serviceLevel) { PageRequireServiceLevel = serviceLevel; Debug.WriteLine(Title + " require service level: " + PageRequireServiceLevel.ToString()); }