mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Data System.Data.DataSetExtensions System.Data.Entity System.Data.Entity.Design System.Data.Linq System.Data.SqlXml System.ServiceModel System.ServiceModel.Activation System.ServiceModel.Activities System.ServiceModel.Channels System.ServiceModel.Discovery System.ServiceModel.Internals System.ServiceModel.Routing System.ServiceModel.WasHosting System.ServiceModel.Web System.Web System.Web.ApplicationServices System.Web.DynamicData System.Web.Entity System.Web.Entity.Design System.Web.Extensions System.Web.Mobile System.Web.Routing System.Web.Services System.Xml System.Xml.Linq
83 lines
3.4 KiB
C#
83 lines
3.4 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="IPageAdapter.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System.Collections;
|
|
using System.Collections.Specialized;
|
|
using System.IO;
|
|
using System.Security.Permissions;
|
|
|
|
namespace System.Web.UI.MobileControls
|
|
{
|
|
/*
|
|
* PageAdapter Interface.
|
|
* A control adapter handles all of the (potentially) device specific
|
|
* functionality for a mobile page.
|
|
*
|
|
* Copyright (c) 2000 Microsoft Corporation
|
|
*/
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter"]/*' />
|
|
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
|
|
[AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
|
|
[Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
|
|
public interface IPageAdapter : IControlAdapter
|
|
{
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.Page"]/*' />
|
|
new MobilePage Page
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.OptimumPageWeight"]/*' />
|
|
|
|
int OptimumPageWeight
|
|
{
|
|
get;
|
|
}
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.CookielessDataDictionary"]/*' />
|
|
|
|
IDictionary CookielessDataDictionary
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.PersistCookielessData"]/*' />
|
|
|
|
bool PersistCookielessData
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.CreateTextWriter"]/*' />
|
|
|
|
// return null to indicate use base implementation
|
|
HtmlTextWriter CreateTextWriter(TextWriter writer);
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.DeterminePostBackMode"]/*' />
|
|
|
|
// Each device specific PageAdapter can manipulate the incoming post
|
|
// back value collection and return a new collection.
|
|
NameValueCollection DeterminePostBackMode
|
|
(
|
|
HttpRequest request,
|
|
String postEventSourceID,
|
|
String postEventArgumentID,
|
|
NameValueCollection baseCollection
|
|
);
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.CacheVaryByHeaders"]/*' />
|
|
|
|
// Return a list of additional HTTP headers that want to be keyed for
|
|
// the ASP.NET page output caching mechanism.
|
|
IList CacheVaryByHeaders
|
|
{
|
|
get;
|
|
}
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.HandleError"]/*' />
|
|
|
|
bool HandleError(Exception e, HtmlTextWriter writer);
|
|
/// <include file='doc\IPageAdapter.uex' path='docs/doc[@for="IPageAdapter.HandlePagePostBackEvent"]/*' />
|
|
bool HandlePagePostBackEvent(String eventSource, String eventArgument);
|
|
}
|
|
}
|