/Languages/IronPython/Tests/plans/interop.net.event.test_event.html
HTML | 864 lines | 802 code | 62 blank | 0 comment | 0 complexity | 9ee9245dec3fe0677963636c1cca771d MD5 | raw file
Possible License(s): CPL-1.0, BSD-3-Clause, ISC, GPL-2.0, MPL-2.0-no-copyleft-exception
Large files files are truncated, but you can click here to view the full file
-
- <!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html><head><title>Python: module interop.net.event.test_event</title>
- </head><body bgcolor="#f0f0f8">
-
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
- <tr bgcolor="#7799ee">
- <td valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="interop.html"><font color="#ffffff">interop</font></a>.<a href="interop.net.html"><font color="#ffffff">net</font></a>.<a href="interop.net.event.html"><font color="#ffffff">event</font></a>.test_event</strong></big></big></font></td
- ><td align=right valign=bottom
- ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:e:\vslrft\dlr\languages\ironpython\tests\interop\net\event\test_event.py">e:\vslrft\dlr\languages\ironpython\tests\interop\net\event\test_event.py</a></font></td></tr></table>
- <p><tt>Operations on event type.</tt></p>
- <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#aa55cc">
- <td colspan=3 valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
-
- <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
- <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="clr.html">clr</a><br>
- <a href="iptest.file_util.html">iptest.file_util</a><br>
- </td><td width="25%" valign=top><a href="logging.html">logging</a><br>
- <a href="nt.html">nt</a><br>
- </td><td width="25%" valign=top><a href="sys.html">sys</a><br>
- <a href="time.html">time</a><br>
- </td><td width="25%" valign=top><a href="iptest.type_util.html">iptest.type_util</a><br>
- </td></tr></table></td></tr></table><p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ee77aa">
- <td colspan=3 valign=bottom> <br>
- <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
-
- <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
- <td width="100%"><dl>
- <dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.IInterface
- </font></dt><dt><font face="helvetica, arial">System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.MulticastDelegate(System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.Delegate)
- </font></dt><dd>
- <dl>
- <dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Int32Int32Delegate
- </font></dt></dl>
- </dd>
- <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
- </font></dt><dd>
- <dl>
- <dt><font face="helvetica, arial">Merlin.Testing in rowantest.typesamples, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Helper
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassExplicitlyImplementInterface
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassImplicitlyImplementInterface
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassWithSimpleEvent
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassWithStaticEvent
- </font></dt><dd>
- <dl>
- <dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.DerivedClassWithStaticEvent
- </font></dt></dl>
- </dd>
- <dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructExplicitlyImplementInterface
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructImplicitlyImplementInterface
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructWithSimpleEvent
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructWithStaticEvent
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.TargetClass
- </font></dt><dt><font face="helvetica, arial">Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.TargetStruct
- </font></dt></dl>
- </dd>
- </dl>
- <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="ClassExplicitlyImplementInterface">class <strong>ClassExplicitlyImplementInterface</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#ClassExplicitlyImplementInterface">ClassExplicitlyImplementInterface</a>()<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%"><dl><dt>Method resolution order:</dt>
- <dd>ClassExplicitlyImplementInterface</dd>
- <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
- <dd>IInterface</dd>
- </dl>
- <hr>
- Methods defined here:<br>
- <dl><dt><a name="ClassExplicitlyImplementInterface-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>str <a href="#ClassExplicitlyImplementInterface-__repr__">__repr__</a>(<a href="__builtin__.html#object">object</a> self)</tt></dd></dl>
-
- <hr>
- Data descriptors inherited from IInterface:<br>
- <dl><dt><strong>OnAction</strong></dt>
- </dl>
- </td></tr></table> <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="ClassImplicitlyImplementInterface">class <strong>ClassImplicitlyImplementInterface</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#ClassImplicitlyImplementInterface">ClassImplicitlyImplementInterface</a>()<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%">Methods defined here:<br>
- <dl><dt><a name="ClassImplicitlyImplementInterface-CallInside"><strong>CallInside</strong></a>(...)</dt><dd><tt>int <a href="#ClassImplicitlyImplementInterface-CallInside">CallInside</a>(self, int arg)</tt></dd></dl>
-
- <dl><dt><a name="ClassImplicitlyImplementInterface-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>str <a href="#ClassImplicitlyImplementInterface-__repr__">__repr__</a>(<a href="__builtin__.html#object">object</a> self)</tt></dd></dl>
-
- <hr>
- Data descriptors defined here:<br>
- <dl><dt><strong>OnAction</strong></dt>
- </dl>
- </td></tr></table> <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="ClassWithSimpleEvent">class <strong>ClassWithSimpleEvent</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#ClassWithSimpleEvent">ClassWithSimpleEvent</a>()<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%">Methods defined here:<br>
- <dl><dt><a name="ClassWithSimpleEvent-CallInside"><strong>CallInside</strong></a>(...)</dt><dd><tt>int <a href="#ClassWithSimpleEvent-CallInside">CallInside</a>(self, int arg)</tt></dd></dl>
-
- <dl><dt><a name="ClassWithSimpleEvent-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>str <a href="#ClassWithSimpleEvent-__repr__">__repr__</a>(<a href="__builtin__.html#object">object</a> self)</tt></dd></dl>
-
- <hr>
- Data descriptors defined here:<br>
- <dl><dt><strong>OnAction</strong></dt>
- </dl>
- </td></tr></table> <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="ClassWithStaticEvent">class <strong>ClassWithStaticEvent</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#ClassWithStaticEvent">ClassWithStaticEvent</a>()<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%">Methods defined here:<br>
- <dl><dt><a name="ClassWithStaticEvent-CallInside"><strong>CallInside</strong></a>(...)</dt><dd><tt>int <a href="#ClassWithStaticEvent-CallInside">CallInside</a>(self, int arg)</tt></dd></dl>
-
- <dl><dt><a name="ClassWithStaticEvent-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>str <a href="#ClassWithStaticEvent-__repr__">__repr__</a>(<a href="__builtin__.html#object">object</a> self)</tt></dd></dl>
-
- <hr>
- Data descriptors defined here:<br>
- <dl><dt><strong>OnAction</strong></dt>
- </dl>
- </td></tr></table> <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="DerivedClassWithStaticEvent">class <strong>DerivedClassWithStaticEvent</strong></a>(ClassWithStaticEvent)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#DerivedClassWithStaticEvent">DerivedClassWithStaticEvent</a>()<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%"><dl><dt>Method resolution order:</dt>
- <dd>DerivedClassWithStaticEvent</dd>
- <dd>ClassWithStaticEvent</dd>
- <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
- </dl>
- <hr>
- Methods inherited from ClassWithStaticEvent:<br>
- <dl><dt><a name="DerivedClassWithStaticEvent-CallInside"><strong>CallInside</strong></a>(...)</dt><dd><tt>int <a href="#DerivedClassWithStaticEvent-CallInside">CallInside</a>(self, int arg)</tt></dd></dl>
-
- <dl><dt><a name="DerivedClassWithStaticEvent-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>str <a href="#DerivedClassWithStaticEvent-__repr__">__repr__</a>(<a href="__builtin__.html#object">object</a> self)</tt></dd></dl>
-
- <hr>
- Data descriptors inherited from ClassWithStaticEvent:<br>
- <dl><dt><strong>OnAction</strong></dt>
- </dl>
- </td></tr></table> <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="Helper">class <strong>Helper</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#Helper">Helper</a>()<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%">Methods defined here:<br>
- <dl><dt><a name="Helper-Sum"><strong>Sum</strong></a>(...)</dt><dd><tt>int <a href="#Helper-Sum">Sum</a>(Array[int] args)</tt></dd></dl>
-
- <dl><dt><a name="Helper-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>str <a href="#Helper-__repr__">__repr__</a>(<a href="__builtin__.html#object">object</a> self)</tt></dd></dl>
-
- </td></tr></table> <strong>IInterface</strong> = <type 'IInterface'> <p>
- <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
- <tr bgcolor="#ffc8d8">
- <td colspan=3 valign=bottom> <br>
- <font color="#000000" face="helvetica, arial"><a name="Int32Int32Delegate">class <strong>Int32Int32Delegate</strong></a>(System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.MulticastDelegate)</font></td></tr>
-
- <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
- <td colspan=2><tt><a href="#Int32Int32Delegate">Int32Int32Delegate</a>(<a href="__builtin__.html#object">object</a> <a href="__builtin__.html#object">object</a>, IntPtr method)<br> </tt></td></tr>
- <tr><td> </td>
- <td width="100%"><dl><dt>Method resolution order:</dt>
- <dd>Int32Int32Delegate</dd>
- <dd>System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.MulticastDelegate</dd>
- <dd>System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.Delegate</dd>
- <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
- </dl>
- <hr>
- Methods defined here:<br>
- <dl><dt><a name="Int32Int32Delegate-BeginInvoke"><strong>BeginInvoke</strong></a>(...)</dt><dd><tt>IAsyncResult <a href="#Int32Int32Delegate-BeginInvoke">BeginInvoke</a>(self, int arg, AsyncCallback callback, <a href="__builtin__.html#object">object</a> <a href="__builtin__.html#object">object</a>)</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-EndInvoke"><strong>EndInvoke</strong></a>(...)</dt><dd><tt>int <a href="#Int32Int32Delegate-EndInvoke">EndInvoke</a>(self, IAsyncResult result)</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-Invoke"><strong>Invoke</strong></a>(...)</dt><dd><tt>int <a href="#Int32Int32Delegate-Invoke">Invoke</a>(self, int arg)</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-__new__"><strong>__new__</strong></a>(...)</dt><dd><tt><a href="#Int32Int32Delegate-__new__">__new__</a>(cls, <a href="__builtin__.html#object">object</a> <a href="__builtin__.html#object">object</a>, IntPtr method)</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-__reduce_ex__"><strong>__reduce_ex__</strong></a>(...)</dt><dd><tt>helper for pickle</tt></dd></dl>
-
- <hr>
- Methods inherited from System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.MulticastDelegate:<br>
- <dl><dt><a name="Int32Int32Delegate-CombineImpl"><strong>CombineImpl</strong></a>(...)</dt><dd><tt>Delegate <a href="#Int32Int32Delegate-CombineImpl">CombineImpl</a>(self, Delegate follow)
<br>
- <br>
-
<br>
- Combines this System.Delegate with the specified System.Delegate to
<br>
- form a new delegate.
<br>
-
<br>
- <br>
- follow:
<br>
- The delegate to combine with this delegate.
<br>
-
<br>
- <br>
- Returns:
<br>
- A System.Delegate that is the new root of the
<br>
- System.MulticastDelegate invocation list.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-Equals"><strong>Equals</strong></a>(...)</dt><dd><tt>bool <a href="#Int32Int32Delegate-Equals">Equals</a>(self, <a href="__builtin__.html#object">object</a> obj)
<br>
- <br>
-
<br>
- Determines whether this multicast delegate and the specified <a href="__builtin__.html#object">object</a>
<br>
- are equal.
<br>
-
<br>
- <br>
- obj:
<br>
- The <a href="__builtin__.html#object">object</a> to compare with this instance.
<br>
-
<br>
- <br>
- Returns: true if obj and this instance have the same invocation lists; otherwise, false.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-GetHashCode"><strong>GetHashCode</strong></a>(...)</dt><dd><tt>int <a href="#Int32Int32Delegate-GetHashCode">GetHashCode</a>(self)
<br>
- <br>
-
<br>
- Returns the hash code for this instance.
<br>
-
<br>
- <br>
- Returns:
<br>
- A 32-bit signed integer hash code.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-GetInvocationList"><strong>GetInvocationList</strong></a>(...)</dt><dd><tt>Array[Delegate] <a href="#Int32Int32Delegate-GetInvocationList">GetInvocationList</a>(self)
<br>
- <br>
-
<br>
- Returns the invocation list of this multicast delegate, in
<br>
- invocation order.
<br>
-
<br>
- <br>
- <br>
- Returns:
<br>
- An array of delegates whose invocation lists collectively match the
<br>
- invocation list of this instance.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-GetMethodImpl"><strong>GetMethodImpl</strong></a>(...)</dt><dd><tt>MethodInfo <a href="#Int32Int32Delegate-GetMethodImpl">GetMethodImpl</a>(self)
<br>
- <br>
-
<br>
- Returns a static method represented by the current
<br>
- System.MulticastDelegate.
<br>
-
<br>
- <br>
- <br>
- Returns:
<br>
- A System.Reflection.MethodInfo describing a static method
<br>
- represented by the current System.MulticastDelegate.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-GetObjectData"><strong>GetObjectData</strong></a>(...)</dt><dd><tt><a href="#Int32Int32Delegate-GetObjectData">GetObjectData</a>(self, SerializationInfo info, StreamingContext context)
<br>
- <br>
-
<br>
- Populates a System.Runtime.Serialization.SerializationInfo <a href="__builtin__.html#object">object</a>
<br>
- with all the data needed to serialize this instance.
<br>
-
<br>
- <br>
- info:
<br>
- An <a href="__builtin__.html#object">object</a> that holds all the data needed to serialize or
<br>
- deserialize this instance.
<br>
-
<br>
- <br>
- context:
<br>
- (Reserved) The location where serialized data is stored and
<br>
- retrieved.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-RemoveImpl"><strong>RemoveImpl</strong></a>(...)</dt><dd><tt>Delegate <a href="#Int32Int32Delegate-RemoveImpl">RemoveImpl</a>(self, Delegate value)
<br>
- <br>
-
<br>
- Removes an element from the invocation list of this
<br>
- System.MulticastDelegate that is equal to the specified delegate.
<br>
-
<br>
- <br>
- value:
<br>
- The delegate to search for in the invocation list.
<br>
-
<br>
-
<br>
- <br>
- <br>
- Returns:
<br>
- If value is found in the invocation list for this instance, then a
<br>
- new System.Delegate without value in its invocation list; otherwise, this instance with
<br>
- its original invocation list.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#Int32Int32Delegate-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>bool <a href="#Int32Int32Delegate-__ne__">__ne__</a>(MulticastDelegate d1, MulticastDelegate d2)
<br>
- <br>
-
<br>
- Determines whether two System.MulticastDelegate objects are not
<br>
- equal.
<br>
-
<br>
- <br>
- d1:
<br>
- The left operand.
<br>
-
<br>
- d2:
<br>
- The right operand.
<br>
-
<br>
- <br>
- Returns: true if d1 and d2 do not have the same invocation lists; otherwise, false.</tt></dd></dl>
-
- <hr>
- Methods inherited from System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.Delegate:<br>
- <dl><dt><a name="Int32Int32Delegate-Call"><strong>Call</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#object">object</a> <a href="#Int32Int32Delegate-Call">Call</a>(Delegate delegate, dict dict, Array[<a href="__builtin__.html#object">object</a>] args)
<br>
- <a href="__builtin__.html#object">object</a> <a href="#Int32Int32Delegate-Call">Call</a>(Delegate delegate, Array[<a href="__builtin__.html#object">object</a>] args)</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-Clone"><strong>Clone</strong></a>(...)</dt><dd><tt><a href="__builtin__.html#object">object</a> <a href="#Int32Int32Delegate-Clone">Clone</a>(self)
<br>
- <br>
-
<br>
- Creates a shallow copy of the delegate.
<br>
-
<br>
- <br>
- Returns:
<br>
- A shallow copy of the delegate.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-Combine"><strong>Combine</strong></a>(...)</dt><dd><tt>Delegate <a href="#Int32Int32Delegate-Combine">Combine</a>(Array[Delegate] delegates)
<br>
-
<br>
-
<br>
- Concatenates the invocation lists of an array of delegates.
<br>
-
<br>
-
<br>
-
<br>
- delegates:
<br>
- The array of delegates to combine.
<br>
-
<br>
-
<br>
- Returns:
<br>
- A new delegate with an invocation list that concatenates the
<br>
- invocation lists of the delegates in the delegates array. Returns null if delegates is
<br>
- null, if delegates contains zero elements, or if every entry in delegates is null.
<br>
-
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-Combine">Combine</a>(Delegate a, Delegate b)
<br>
-
<br>
-
<br>
- Concatenates the invocation lists of two delegates.
<br>
-
<br>
-
<br>
-
<br>
- a:
<br>
- The delegate whose invocation list comes first.
<br>
-
<br>
- b:
<br>
- The delegate whose invocation list comes last.
<br>
-
<br>
-
<br>
- Returns:
<br>
- A new delegate with an invocation list that concatenates the
<br>
- invocation lists of a and b in that order. Returns a if b is null, returns b if a is a
<br>
- null reference, and returns a null reference if both a and b are null references.</tt></dd></dl>
-
- <dl><dt><a name="Int32Int32Delegate-CreateDelegate"><strong>CreateDelegate</strong></a>(...)</dt><dd><tt>Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, MethodInfo method)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type to represent the specified
<br>
- static method.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- method:
<br>
- The System.Reflection.MethodInfo describing the static or instance
<br>
- method the delegate is to represent. Only static methods are supported in the .NET
<br>
- Framework version 1.0 and 1.1.
<br>
-
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type to represent the specified static
<br>
- method.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, Type target, str method, bool ignoreCase, bool throwOnBindFailure)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type that represents the
<br>
- specified static method of the specified class, with the specified case-sensitivity and
<br>
- the specified behavior on failure to bind.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- target:
<br>
- The System.Type representing the class that implements method.
<br>
-
<br>
-
<br>
-
<br>
- method:
<br>
- The name of the static method that the delegate is to represent.
<br>
-
<br>
-
<br>
-
<br>
- ignoreCase:
<br>
- A Boolean indicating whether to ignore the case when comparing the
<br>
- name of the method.
<br>
-
<br>
-
<br>
- throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type that represents the specified
<br>
- static method of the specified class.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, MethodInfo method, bool throwOnBindFailure)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type to represent the specified
<br>
- static method, with the specified behavior on failure to bind.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- method:
<br>
- The System.Reflection.MethodInfo describing the static or instance
<br>
- method the delegate is to represent.
<br>
-
<br>
-
<br>
- throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type to represent the specified static
<br>
- method.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, <a href="__builtin__.html#object">object</a> firstArgument, MethodInfo method, bool throwOnBindFailure)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type that represents the
<br>
- specified static or instance method, with the specified first argument and the specified
<br>
- behavior on failure to bind.
<br>
-
<br>
-
<br>
- type:
<br>
- A System.Type representing the type of delegate to create.
<br>
-
<br>
-
<br>
-
<br>
- firstArgument:
<br>
- An System.Object that is the first argument of the method the
<br>
- delegate represents. For instance methods, it must be compatible with the instance type.
<br>
- <br>
-
<br>
-
<br>
- method:
<br>
- The System.Reflection.MethodInfo describing the static or instance
<br>
- method the delegate is to represent.
<br>
-
<br>
-
<br>
- throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type that represents the specified
<br>
- static or instance method, or null if throwOnBindFailure is false and the delegate cannot
<br>
- be bound to method.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, <a href="__builtin__.html#object">object</a> firstArgument, MethodInfo method)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type that represents the
<br>
- specified static or instance method, with the specified first argument.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- firstArgument:
<br>
- The <a href="__builtin__.html#object">object</a> to which the delegate is bound, or null to treat method
<br>
- as static (Shared in Visual Basic).
<br>
-
<br>
-
<br>
- method:
<br>
- The System.Reflection.MethodInfo describing the static or instance
<br>
- method the delegate is to represent.
<br>
-
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type that represents the specified
<br>
- static or instance method.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, <a href="__builtin__.html#object">object</a> target, str method, bool ignoreCase)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type that represents the
<br>
- specified instance method to invoke on the specified class instance with the specified
<br>
- case-sensitivity.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- target:
<br>
- The class instance on which method is invoked.
<br>
-
<br>
- method:
<br>
- The name of the instance method that the delegate is to represent.
<br>
- <br>
-
<br>
-
<br>
- ignoreCase:
<br>
- A Boolean indicating whether to ignore the case when comparing the
<br>
- name of the method.
<br>
-
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type that represents the specified
<br>
- instance method to invoke on the specified class instance.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, <a href="__builtin__.html#object">object</a> target, str method)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type that represents the
<br>
- specified instance method to invoke on the specified class instance.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- target:
<br>
- The class instance on which method is invoked.
<br>
-
<br>
- method:
<br>
- The name of the instance method that the delegate is to represent.
<br>
- <br>
-
<br>
-
<br>
-
<br>
- Returns:
<br>
- A delegate of the specified type that represents the specified
<br>
- instance method to invoke on the specified class instance.
<br>
-
<br>
-
<br>
-
<br>
- Delegate <a href="#Int32Int32Delegate-CreateDelegate">CreateDelegate</a>(Type type, <a href="__builtin__.html#object">object</a> target, str method, bool ignoreCase, bool throwOnBindFailure)
<br>
-
<br>
-
<br>
- Creates a delegate of the specified type that represents the
<br>
- specified instance method to invoke on the specified class instance, with the specified
<br>
- case-sensitivity and the specified behavior on failure to bind.
<br>
-
<br>
-
<br>
- type:
<br>
- The System.Type of delegate to create.
<br>
-
<br>
- target:
<br>
- The class instance on which method is invoked.
<br>
-
<br>
- method:
<br>
- The name of the instance method that the delegate is to represent.
<br>
- <br>
-
<br>
-
<br>
- ignoreCase:
<br>
- A Boolean…
Large files files are truncated, but you can click here to view the full file