e="M:Windows.UI.Notifications.ToastCollectionManager.RemoveToastCollectionAsync(System.String)">
      <summary>
      </summary>
      <param name="collectionId">
      </param>
      <returns>
      </returns>
    </member>
    <member name="M:Windows.UI.Notifications.ToastCollectionManager.SaveToastCollectionAsync(Windows.UI.Notifications.ToastCollection)">
      <summary>
      </summary>
      <param name="collection">
      </param>
      <returns>
      </returns>
    </member>
    <member name="T:Windows.UI.Notifications.ToastDismissalReason">
      <summary>指定不再显示的消息通知的原因。 与 Windows.UI.Notifications.ToastDismissedEventArgs.Reason 结合使用。</summary>
    </member>
    <member name="F:Windows.UI.Notifications.ToastDismissalReason.ApplicationHidden">
      <summary>应用通过调用 Windows.UI.Notifications.ToastNotifier.Hide(Windows.UI.Notifications.ToastNotification) 方法显式隐藏了 toast 通知。</summary>
    </member>
    <member name="F:Windows.UI.Notifications.ToastDismissalReason.TimedOut">
      <summary>消息信息已显示允许时间最大值然后逐渐消失。 显示 toast 通知的最大时间为 7 秒，除非为长时间 toast</summary>
    </member>
    <member name="F:Windows.UI.Notifications.ToastDismissalReason.UserCanceled">
      <summary>用户关闭了消息通知。</summary>
    </member>
    <member name="T:Windows.UI.Notifications.ToastDismissedEventArgs">
      <summary>提供不再在屏幕上显示消息通知的原因。</summary>
    </member>
    <member name="P:Windows.UI.Notifications.ToastDismissedEventArgs.Reason">
      <summary>获屏幕上取不再显示消息通知的原因。</summary>
      <returns>指定不再显示消息的原因的枚举值之一。</returns>
    </member>
    <member name="T:Windows.UI.Notifications.ToastFailedEventArgs">
      <summary>提供在引发消息通知期间生成的错误代码。</summary>
    </member>
    <member name="P:Windows.UI.Notificat"use strict";
/*---------------------------------------------------------
 * Copyright (C) Microsoft Corporation. All rights reserved.
 *--------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
var PersistentSharedPropertyProvider = /** @class */ (function () {
    function PersistentSharedPropertyProvider(storageService, errorCollector) {
        this._storageService = storageService;
        this._errorCollector = errorCollector;
    }
    /**
     * Add shared properties to the provided context.
     * @param context Context to add shared property
     */
    PersistentSharedPropertyProvider.prototype.addSharedProperties = function (context) {
        var _this = this;
        return this._storageService.getAllItems().then(function (items) {
            for (var propName in items) {
                if (items.hasOwnProperty(propName)) {
                    context.setSharedProperty(propName, items[propName]);
                }
            }
        }).catch(function (err) { return _this._errorCollector.collectError("PersistentSharedPropertyProvider", "addSharedProperties", err.innerError); });
    };
    /**
     * Posts properties to the provided context.
     * @param context Context to post property
     */
    PersistentSharedPropertyProvider.prototype.postProperties = function (context) {
        return Promise.resolve(null);
    };
    return PersistentSharedPropertyProvider;
}());
exports.PersistentSharedPropertyProvider = PersistentSharedPropertyProvider;
