public static void RemoveKey(TombstoningVariables key)
 {
     if (HasValue(key))
     {
         PhoneApplicationService.Current.State.Remove(Enum.GetName(typeof(TombstoningVariables), key));
     }
 }
 public static void RemoveKey(TombstoningVariables key)
 {
     if (HasValue(key))
     {
         PhoneApplicationService.Current.State.Remove(Enum.GetName(typeof(TombstoningVariables), key));
     }
 }
 public static bool HasValue(TombstoningVariables key)
 {
     if (PhoneApplicationService.Current.State != null)
     {
         return PhoneApplicationService.Current.State.ContainsKey(Enum.GetName(typeof(TombstoningVariables), key));
     }
     return false;
 }
 public static bool HasValue(TombstoningVariables key)
 {
     if (PhoneApplicationService.Current.State != null)
     {
         return(PhoneApplicationService.Current.State.ContainsKey(Enum.GetName(typeof(TombstoningVariables), key)));
     }
     return(false);
 }
 public static void SetValue(TombstoningVariables key, object value)
 {
     PhoneApplicationService.Current.State[Enum.GetName(typeof(TombstoningVariables), key)] = value;
 }
 public static object GetValue(TombstoningVariables key)
 {
     return PhoneApplicationService.Current.State[Enum.GetName(typeof(TombstoningVariables), key)];
 }
 public static void SetValue(TombstoningVariables key, object value)
 {
     PhoneApplicationService.Current.State[Enum.GetName(typeof(TombstoningVariables), key)] = value;
 }
 public static object GetValue(TombstoningVariables key)
 {
     return(PhoneApplicationService.Current.State[Enum.GetName(typeof(TombstoningVariables), key)]);
 }