182 lines
9.0 KiB
XML
182 lines
9.0 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Type Name="EventHandlerList" FullName="System.ComponentModel.EventHandlerList">
|
||
|
<TypeSignature Language="C#" Value="public sealed class EventHandlerList : IDisposable" Maintainer="auto" />
|
||
|
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit EventHandlerList extends System.Object implements class System.IDisposable" />
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyName>System</AssemblyName>
|
||
|
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
|
||
|
<AssemblyVersion>1.0.3300.0</AssemblyVersion>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.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>
|
||
|
<Interface>
|
||
|
<InterfaceName>System.IDisposable</InterfaceName>
|
||
|
</Interface>
|
||
|
</Interfaces>
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>This class uses a linear search algorithm to find entries in the list of delegates. A linear search algorithm is inefficient when working with a large number of entries. Therefore, when you have a large list, finding entries is slow.</para>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Provides a simple list of delegates. This class cannot be inherited.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
<Members>
|
||
|
<Member MemberName=".ctor">
|
||
|
<MemberSignature Language="C#" Value="public EventHandlerList ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
|
||
|
<MemberType>Constructor</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue />
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>To be added</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Initializes a new instance of the <see cref="T:System.ComponentModel.EventHandlerList" /> class. </para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="AddHandler">
|
||
|
<MemberSignature Language="C#" Value="public void AddHandler (object key, Delegate value);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddHandler(object key, class System.Delegate value) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="key" Type="System.Object" />
|
||
|
<Parameter Name="value" Type="System.Delegate" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Adds a delegate to the list.</para>
|
||
|
</summary>
|
||
|
<param name="key">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The object that owns the event. </param>
|
||
|
<param name="value">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The delegate to add to the list. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="AddHandlers">
|
||
|
<MemberSignature Language="C#" Value="public void AddHandlers (System.ComponentModel.EventHandlerList listToAddFrom);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddHandlers(class System.ComponentModel.EventHandlerList listToAddFrom) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="listToAddFrom" Type="System.ComponentModel.EventHandlerList" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added.</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Adds a list of delegates to the current list.</para>
|
||
|
</summary>
|
||
|
<param name="listToAddFrom">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The list to add.</param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Dispose">
|
||
|
<MemberSignature Language="C#" Value="public void Dispose ();" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters />
|
||
|
<Docs>
|
||
|
<remarks>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Call <see cref="M:System.ComponentModel.EventHandlerList.Dispose" /> when you are finished using the <see cref="T:System.ComponentModel.EventHandlerList" />. The <see cref="M:System.ComponentModel.EventHandlerList.Dispose" /> method leaves the <see cref="T:System.ComponentModel.EventHandlerList" /> in an unusable state. After calling <see cref="M:System.ComponentModel.EventHandlerList.Dispose" />, you must release all references to the <see cref="T:System.ComponentModel.EventHandlerList" /> so the memory it was occupying can be reclaimed by garbage collection.</para>
|
||
|
<block subset="none" type="note">
|
||
|
<para>Always call <see cref="M:System.ComponentModel.EventHandlerList.Dispose" /> before you release your last reference to the <see cref="T:System.ComponentModel.EventHandlerList" />. Otherwise, the resources the <see cref="T:System.ComponentModel.EventHandlerList" /> is using will not be freed until garbage collection calls the <see cref="T:System.ComponentModel.EventHandlerList" /> object's destructor.</para>
|
||
|
</block>
|
||
|
</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Disposes the delegate list.</para>
|
||
|
</summary>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="Item">
|
||
|
<MemberSignature Language="C#" Value="public Delegate this[object key] { get; set; }" />
|
||
|
<MemberSignature Language="ILAsm" Value=".property instance class System.Delegate Item(object)" />
|
||
|
<MemberType>Property</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Delegate</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="key" Type="System.Object" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<param name="key">To be added: an object of type 'object'</param>
|
||
|
<summary>To be added</summary>
|
||
|
<value>To be added: an object of type 'Delegate'</value>
|
||
|
<remarks>To be added</remarks>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
<Member MemberName="RemoveHandler">
|
||
|
<MemberSignature Language="C#" Value="public void RemoveHandler (object key, Delegate value);" />
|
||
|
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void RemoveHandler(object key, class System.Delegate value) cil managed" />
|
||
|
<MemberType>Method</MemberType>
|
||
|
<AssemblyInfo>
|
||
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
||
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||
|
<AssemblyVersion>4.0.0.0</AssemblyVersion>
|
||
|
</AssemblyInfo>
|
||
|
<ReturnValue>
|
||
|
<ReturnType>System.Void</ReturnType>
|
||
|
</ReturnValue>
|
||
|
<Parameters>
|
||
|
<Parameter Name="key" Type="System.Object" />
|
||
|
<Parameter Name="value" Type="System.Delegate" />
|
||
|
</Parameters>
|
||
|
<Docs>
|
||
|
<remarks>To be added</remarks>
|
||
|
<summary>
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
||
|
<para>Removes a delegate from the list.</para>
|
||
|
</summary>
|
||
|
<param name="key">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The object that owns the event. </param>
|
||
|
<param name="value">
|
||
|
<attribution license="cc4" from="Microsoft" modified="false" />The delegate to remove from the list. </param>
|
||
|
</Docs>
|
||
|
</Member>
|
||
|
</Members>
|
||
|
</Type>
|