public abstract class Delegate : ICloneable, ISerializable { protected Delegate(object target, string method); protected Delegate(Type target, string method);
public static bool operator !=(Delegate d1, Delegate d2); public static bool operator ==(Delegate d1, Delegate d2);
public MethodInfo Method { get; } public object Target { get; }
public virtual object Clone(); public static Delegate Combine(params Delegate[] delegates); public static Delegate Combine(Delegate a, Delegate b); protected virtual Delegate CombineImpl(Delegate d); public static Delegate CreateDelegate(Type type, MethodInfo method); public static Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure); public static Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method); public static Delegate CreateDelegate(Type type, object target, string method); public static Delegate CreateDelegate(Type type, Type target, string method); public static Delegate CreateDelegate(Type type, object firstArgument, MethodInfo method, bool throwOnBindFailure); public static Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase); public static Delegate CreateDelegate(Type type, Type target, string method, bool ignoreCase); public static Delegate CreateDelegate(Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure); public static Delegate CreateDelegate(Type type, Type target, string method, bool ignoreCase, bool throwOnBindFailure); public object DynamicInvoke(params object[] args); protected virtual object DynamicInvokeImpl(object[] args); public override bool Equals(object obj); public override int GetHashCode(); public virtual Delegate[] GetInvocationList(); protected virtual MethodInfo GetMethodImpl(); public virtual void GetObjectData(SerializationInfo info, StreamingContext context); public static Delegate Remove(Delegate source, Delegate value); public static Delegate RemoveAll(Delegate source, Delegate value); protected virtual Delegate RemoveImpl(Delegate d); } |