iclientstatemanager.cs

来自「AJAX 应用 实现页面的无刷新」· CS 代码 · 共 33 行

CS
33
字号
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
// All other rights reserved.

using System;
using System.Collections.Generic;
using System.Text;

namespace AjaxControlToolkit
{
    /// <summary>
    /// Describes an object which supports ClientState
    /// </summary>
    public interface IClientStateManager
    {
        /// <summary>
        /// Whether ClientState is supported by the object instance
        /// </summary>
        bool SupportsClientState { get; }
        /// <summary>
        /// Loads the client state for the object
        /// </summary>
        /// <param name="clientState"></param>
        void LoadClientState(string clientState);
        /// <summary>
        /// Saves the client state for the object
        /// </summary>
        /// <returns></returns>
        string SaveClientState();
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?