| |
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.IInterface
- 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)
-
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Int32Int32Delegate
- __builtin__.object
-
- Merlin.Testing in rowantest.typesamples, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.Helper
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassExplicitlyImplementInterface
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassImplicitlyImplementInterface
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassWithSimpleEvent
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.ClassWithStaticEvent
-
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.DerivedClassWithStaticEvent
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructExplicitlyImplementInterface
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructImplicitlyImplementInterface
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructWithSimpleEvent
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.StructWithStaticEvent
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.TargetClass
- Merlin.Testing.Event in rowantest.eventdefinitions, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.TargetStruct
IInterface = <type 'IInterface'>
class Int32Int32Delegate(System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.MulticastDelegate) |
|
Int32Int32Delegate(object object, IntPtr method) |
|
- Method resolution order:
- Int32Int32Delegate
- 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
- __builtin__.object
Methods defined here:
- BeginInvoke(...)
- IAsyncResult BeginInvoke(self, int arg, AsyncCallback callback, object object)
- EndInvoke(...)
- int EndInvoke(self, IAsyncResult result)
- Invoke(...)
- int Invoke(self, int arg)
- __new__(...)
- __new__(cls, object object, IntPtr method)
- __reduce_ex__(...)
- helper for pickle
Methods inherited from System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.MulticastDelegate:
- CombineImpl(...)
- Delegate CombineImpl(self, Delegate follow)
Combines this System.Delegate with the specified System.Delegate to
form a new delegate.
follow:
The delegate to combine with this delegate.
Returns:
A System.Delegate that is the new root of the
System.MulticastDelegate invocation list.
- Equals(...)
- bool Equals(self, object obj)
Determines whether this multicast delegate and the specified object
are equal.
obj:
The object to compare with this instance.
Returns: true if obj and this instance have the same invocation lists; otherwise, false.
- GetHashCode(...)
- int GetHashCode(self)
Returns the hash code for this instance.
Returns:
A 32-bit signed integer hash code.
- GetInvocationList(...)
- Array[Delegate] GetInvocationList(self)
Returns the invocation list of this multicast delegate, in
invocation order.
Returns:
An array of delegates whose invocation lists collectively match the
invocation list of this instance.
- GetMethodImpl(...)
- MethodInfo GetMethodImpl(self)
Returns a static method represented by the current
System.MulticastDelegate.
Returns:
A System.Reflection.MethodInfo describing a static method
represented by the current System.MulticastDelegate.
- GetObjectData(...)
- GetObjectData(self, SerializationInfo info, StreamingContext context)
Populates a System.Runtime.Serialization.SerializationInfo object
with all the data needed to serialize this instance.
info:
An object that holds all the data needed to serialize or
deserialize this instance.
context:
(Reserved) The location where serialized data is stored and
retrieved.
- RemoveImpl(...)
- Delegate RemoveImpl(self, Delegate value)
Removes an element from the invocation list of this
System.MulticastDelegate that is equal to the specified delegate.
value:
The delegate to search for in the invocation list.
Returns:
If value is found in the invocation list for this instance, then a
new System.Delegate without value in its invocation list; otherwise, this instance with
its original invocation list.
- __eq__(...)
- x.__eq__(y) <==> x==y
- __ne__(...)
- bool __ne__(MulticastDelegate d1, MulticastDelegate d2)
Determines whether two System.MulticastDelegate objects are not
equal.
d1:
The left operand.
d2:
The right operand.
Returns: true if d1 and d2 do not have the same invocation lists; otherwise, false.
Methods inherited from System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.Delegate:
- Call(...)
- object Call(Delegate delegate, dict dict, Array[object] args)
object Call(Delegate delegate, Array[object] args)
- Clone(...)
- object Clone(self)
Creates a shallow copy of the delegate.
Returns:
A shallow copy of the delegate.
- Combine(...)
- Delegate Combine(Array[Delegate] delegates)
Concatenates the invocation lists of an array of delegates.
delegates:
The array of delegates to combine.
Returns:
A new delegate with an invocation list that concatenates the
invocation lists of the delegates in the delegates array. Returns null if delegates is
null, if delegates contains zero elements, or if every entry in delegates is null.
Delegate Combine(Delegate a, Delegate b)
Concatenates the invocation lists of two delegates.
a:
The delegate whose invocation list comes first.
b:
The delegate whose invocation list comes last.
Returns:
A new delegate with an invocation list that concatenates the
invocation lists of a and b in that order. Returns a if b is null, returns b if a is a
null reference, and returns a null reference if both a and b are null references.
- CreateDelegate(...)
- Delegate CreateDelegate(Type type, MethodInfo method)
Creates a delegate of the specified type to represent the specified
static method.
type:
The System.Type of delegate to create.
method:
The System.Reflection.MethodInfo describing the static or instance
method the delegate is to represent. Only static methods are supported in the .NET
Framework version 1.0 and 1.1.
Returns:
A delegate of the specified type to represent the specified static
method.
Delegate CreateDelegate(Type type, Type target, str method, bool ignoreCase, bool throwOnBindFailure)
Creates a delegate of the specified type that represents the
specified static method of the specified class, with the specified case-sensitivity and
the specified behavior on failure to bind.
type:
The System.Type of delegate to create.
target:
The System.Type representing the class that implements method.
method:
The name of the static method that the delegate is to represent.
ignoreCase:
A Boolean indicating whether to ignore the case when comparing the
name of the method.
throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
Returns:
A delegate of the specified type that represents the specified
static method of the specified class.
Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure)
Creates a delegate of the specified type to represent the specified
static method, with the specified behavior on failure to bind.
type:
The System.Type of delegate to create.
method:
The System.Reflection.MethodInfo describing the static or instance
method the delegate is to represent.
throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
Returns:
A delegate of the specified type to represent the specified static
method.
Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method, bool throwOnBindFailure)
Creates a delegate of the specified type that represents the
specified static or instance method, with the specified first argument and the specified
behavior on failure to bind.
type:
A System.Type representing the type of delegate to create.
firstArgument:
An System.Object that is the first argument of the method the
delegate represents. For instance methods, it must be compatible with the instance type.
method:
The System.Reflection.MethodInfo describing the static or instance
method the delegate is to represent.
throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
Returns:
A delegate of the specified type that represents the specified
static or instance method, or null if throwOnBindFailure is false and the delegate cannot
be bound to method.
Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method)
Creates a delegate of the specified type that represents the
specified static or instance method, with the specified first argument.
type:
The System.Type of delegate to create.
firstArgument:
The object to which the delegate is bound, or null to treat method
as static (Shared in Visual Basic).
method:
The System.Reflection.MethodInfo describing the static or instance
method the delegate is to represent.
Returns:
A delegate of the specified type that represents the specified
static or instance method.
Delegate CreateDelegate(Type type, object target, str method, bool ignoreCase)
Creates a delegate of the specified type that represents the
specified instance method to invoke on the specified class instance with the specified
case-sensitivity.
type:
The System.Type of delegate to create.
target:
The class instance on which method is invoked.
method:
The name of the instance method that the delegate is to represent.
ignoreCase:
A Boolean indicating whether to ignore the case when comparing the
name of the method.
Returns:
A delegate of the specified type that represents the specified
instance method to invoke on the specified class instance.
Delegate CreateDelegate(Type type, object target, str method)
Creates a delegate of the specified type that represents the
specified instance method to invoke on the specified class instance.
type:
The System.Type of delegate to create.
target:
The class instance on which method is invoked.
method:
The name of the instance method that the delegate is to represent.
Returns:
A delegate of the specified type that represents the specified
instance method to invoke on the specified class instance.
Delegate CreateDelegate(Type type, object target, str method, bool ignoreCase, bool throwOnBindFailure)
Creates a delegate of the specified type that represents the
specified instance method to invoke on the specified class instance, with the specified
case-sensitivity and the specified behavior on failure to bind.
type:
The System.Type of delegate to create.
target:
The class instance on which method is invoked.
method:
The name of the instance method that the delegate is to represent.
ignoreCase:
A Boolean indicating whether to ignore the case when comparing the
name of the method.
throwOnBindFailure: true to throw an exception if method cannot be bound; otherwise, false.
Returns:
A delegate of the specified type that represents the specified
instance method to invoke on the specified class instance.
Delegate CreateDelegate(Type type, Type target, str method, bool ignoreCase)
Creates a delegate of the specified type that represents the
specified static method of the specified class, with the specified case-sensitivity.
type:
The System.Type of delegate to create.
target:
The System.Type representing the class that implements method.
method:
The name of the static method that the delegate is to represent.
ignoreCase:
A Boolean indicating whether to ignore the case when comparing the
name of the method.
Returns:
A delegate of the specified type that represents the specified
static method of the specified class.
Delegate CreateDelegate(Type type, Type target, str method)
Creates a delegate of the specified type that represents the
specified static method of the specified class.
type:
The System.Type of delegate to create.
target:
The System.Type representing the class that implements method.
method:
The name of the static method that the delegate is to represent.
Returns:
A delegate of the specified type that represents the specified
static method of the specified class.
- DynamicInvoke(...)
- object DynamicInvoke(self, Array[object] args)
Dynamically invokes (late-bound) the method represented by the
current delegate.
args:
An array of objects that are the arguments to pass to the method
represented by the current delegate.
-or-
null, if the method represented by the current delegate does not require
arguments.
Returns:
The object returned by the method represented by the delegate.
- DynamicInvokeImpl(...)
- object DynamicInvokeImpl(self, Array[object] args)
Dynamically invokes (late-bound) the method represented by the
current delegate.
args:
An array of objects that are the arguments to pass to the method
represented by the current delegate.
-or-
null, if the method represented by the current delegate does not require
arguments.
Returns:
The object returned by the method represented by the delegate.
- InPlaceAdd(...)
- Delegate InPlaceAdd(Delegate self, Delegate other)
- InPlaceSubtract(...)
- Delegate InPlaceSubtract(Delegate self, Delegate other)
- Remove(...)
- Delegate Remove(Delegate source, Delegate value)
Removes the last occurrence of the invocation list of a delegate
from the invocation list of another delegate.
source:
The delegate from which to remove the invocation list of value.
value:
The delegate that supplies the invocation list to remove from the
invocation list of source.
Returns:
A new delegate with an invocation list formed by taking the
invocation list of source and removing the last occurrence of the invocation list of
value, if the invocation list of value is found within the invocation list of source.
Returns source if value is null or if the invocation list of value is not found within
the invocation list of source. Returns a null reference if the invocation list of value
is equal to the invocation list of source or if source is a null reference.
- RemoveAll(...)
- Delegate RemoveAll(Delegate source, Delegate value)
Removes all occurrences of the invocation list of a delegate from
the invocation list of another delegate.
source:
The delegate from which to remove the invocation list of value.
value:
The delegate that supplies the invocation list to remove from the
invocation list of source.
Returns:
A new delegate with an invocation list formed by taking the
invocation list of source and removing all occurrences of the invocation list of value,
if the invocation list of value is found within the invocation list of source. Returns
source if value is null or if the invocation list of value is not found within the
invocation list of source. Returns a null reference if the invocation list of value is
equal to the invocation list of source, if source contains only a series of invocation
lists that are equal to the invocation list of value, or if source is a null reference.
- __call__ = Call(...)
- object Call(Delegate delegate, dict dict, Array[object] args)
object Call(Delegate delegate, Array[object] args)
- __iadd__(...)
- Delegate __iadd__(Delegate self, Delegate other)
- __isub__(...)
- Delegate __isub__(Delegate self, Delegate other)
- __repr__(...)
- str __repr__(object self)
Data descriptors inherited from System in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089.Delegate:
- Method
- Gets the method represented by the delegate.
Get: MethodInfo Method(self)
- Target
- Gets the class instance on which the current delegate invokes the instance method.
Get: object Target(self)
| StructExplicitlyImplementInterface = <type 'StructExplicitlyImplementInterface'> StructImplicitlyImplementInterface = <type 'StructImplicitlyImplementInterface'> StructWithSimpleEvent = <type 'StructWithSimpleEvent'> StructWithStaticEvent = <type 'StructWithStaticEvent'>
TargetStruct = <type 'TargetStruct'> |