Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

46 lines
1.4 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IPostBackDataHandler.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
* Controls that can accept postback data should implement this interface.
*
* Copyright (c) 1999 Microsoft Corporation
*/
namespace System.Web.UI {
using System;
using System.Collections;
using System.Collections.Specialized;
/// <devdoc>
/// <para>Defines the contract that controls must implement in order to
/// automatically load post back data.</para>
/// </devdoc>
public interface IPostBackDataHandler {
/*
* Processes the post data returned from the client for this control.
* Answer true if the post data causes our state to change.
*/
/// <devdoc>
/// <para>Processes the post back data for the specified control. </para>
/// </devdoc>
bool LoadPostData(string postDataKey, NameValueCollection postCollection);
/*
* Notify any listeners that our state has changed as the result of
* a post back.
*/
/// <devdoc>
/// <para>Signals the control to notify any listeners that the state of the
/// control has changed.</para>
/// </devdoc>
void RaisePostDataChangedEvent();
}
}