Search Results for

    Show / Hide Table of Contents

    Interface IEventPattern<TSender, TEventArgs>

    Represents a .NET event invocation consisting of the strongly typed object that raised the event and the data that was generated by the event.

    Namespace: System.Reactive
    Assembly: System.Reactive.Interfaces.dll
    Syntax
    public interface IEventPattern<out TSender, out TEventArgs>
        where TEventArgs : EventArgs
    Type Parameters
    Name Description
    TSender

    The type of the sender that raised the event. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

    TEventArgs

    The type of the event data generated by the event. This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.

    Properties

    | Improve this Doc View Source

    EventArgs

    Gets the event data that was generated by the event.

    Declaration
    TEventArgs EventArgs { get; }
    Property Value
    Type Description
    TEventArgs
    | Improve this Doc View Source

    Sender

    Gets the sender object that raised the event.

    Declaration
    TSender Sender { get; }
    Property Value
    Type Description
    TSender
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX