a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
106 lines
5.1 KiB
XML
106 lines
5.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="Pair" FullName="System.Web.UI.Pair">
|
|
<TypeSignature Language="C#" Maintainer="auto" Value="public sealed class Pair" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Web</AssemblyName>
|
|
<AssemblyPublicKey>
|
|
</AssemblyPublicKey>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The <see cref="T:System.Web.UI.Pair" /> class is used as a basic structure to store two related objects. It is a utility class that is used in various ways throughout ASP.NET, such as during page state management tasks or in configuration section handlers. You can use the <see cref="T:System.Web.UI.Pair" /> class in your own code anywhere that you need a structure to contain two related objects and where data hiding is not essential. The <see cref="T:System.Web.UI.Pair" /> class does not encapsulate its object references, <see cref="F:System.Web.UI.Pair.First" /> and <see cref="F:System.Web.UI.Pair.Second" />, in properties; it exposes them directly to all calling code as public class fields. </para>
|
|
<para>The <see cref="T:System.Web.UI.Pair" /> class can be used in several ways in page state persistence implementations. The most common use is as a container for both the <see cref="P:System.Web.UI.Control.ViewState" /> and <see cref="P:System.Web.UI.PageStatePersister.ControlState" /> collections. In this case, the <see cref="F:System.Web.UI.Pair.First" /> property is used for <see cref="P:System.Web.UI.Control.ViewState" />, and the <see cref="F:System.Web.UI.Pair.Second" /> for <see cref="P:System.Web.UI.PageStatePersister.ControlState" />.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Provides a basic utility class that is used to store two related objects. </para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Pair ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>To be added</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Creates a new, uninitialized instance of the <see cref="T:System.Web.UI.Pair" /> class.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Pair (object first, object second);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="first" Type="System.Object" />
|
|
<Parameter Name="second" Type="System.Object" />
|
|
</Parameters>
|
|
<Docs>
|
|
<param name="first">a <see cref="T:System.Object" /></param>
|
|
<param name="second">a <see cref="T:System.Object" /></param>
|
|
<remarks>To be added</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Initializes a new instance of the <see cref="T:System.Web.UI.Pair" /> class, using the specified object pair.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="First">
|
|
<MemberSignature Language="C#" Value="public object First;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Object</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>To be added</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the first object of the object pair.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Second">
|
|
<MemberSignature Language="C#" Value="public object Second;" />
|
|
<MemberType>Field</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Object</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<remarks>To be added</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Gets or sets the second object of the object pair.</para>
|
|
</summary>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |