示例#1
0
        public static bool?GetToastCapable(Lexicon.Application application)
        {
            bool toast;

            if (Application.AppToasts.TryGetValue(application, out toast))
            {
                return(toast);
            }

            return(null);
        }
示例#2
0
 public static void SetToastCapable(Lexicon.Application application, bool toast)
 {
     Application.AppToasts.Add(application, toast);
 }