Search Results for

    Show / Hide Table of Contents

    Class Pattern<TSource1, TSource2, TSource3, TSource4, TSource5>

    Represents a join pattern over five observable sequences.

    Inheritance
    Object
    Pattern
    Pattern<TSource1, TSource2, TSource3, TSource4, TSource5>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ToString()
    Object.ReferenceEquals(Object, Object)
    Namespace: System.Reactive.Joins
    Assembly: System.Reactive.Linq.dll
    Syntax
    public class Pattern<TSource1, TSource2, TSource3, TSource4, TSource5> : Pattern
    Type Parameters
    Name Description
    TSource1

    The type of the elements in the first source sequence.

    TSource2

    The type of the elements in the second source sequence.

    TSource3

    The type of the elements in the third source sequence.

    TSource4

    The type of the elements in the fourth source sequence.

    TSource5

    The type of the elements in the fifth source sequence.

    Methods

    | Improve this Doc View Source

    And<TSource6>(IObservable<TSource6>)

    Creates a pattern that matches when all six observable sequences have an available element.

    Declaration
    public Pattern<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6> And<TSource6>(IObservable<TSource6> other)
    Parameters
    Type Name Description
    IObservable<TSource6> other

    Observable sequence to match with the five previous sequences.

    Returns
    Type Description
    Pattern<TSource1, TSource2, TSource3, TSource4, TSource5, TSource6>

    Pattern object that matches when all observable sequences have an available element.

    Type Parameters
    Name Description
    TSource6

    The type of the elements in the sixth observable sequence.

    Exceptions
    Type Condition
    ArgumentNullException

    other is null.

    | Improve this Doc View Source

    Then<TResult>(Func<TSource1, TSource2, TSource3, TSource4, TSource5, TResult>)

    Matches when all observable sequences have an available element and projects the elements by invoking the selector function.

    Declaration
    public Plan<TResult> Then<TResult>(Func<TSource1, TSource2, TSource3, TSource4, TSource5, TResult> selector)
    Parameters
    Type Name Description
    Func<TSource1, TSource2, TSource3, TSource4, TSource5, TResult> selector

    Selector that will be invoked for elements in the source sequences.

    Returns
    Type Description
    Plan<TResult>

    Plan that produces the projected results, to be fed (with other plans) to the When operator.

    Type Parameters
    Name Description
    TResult

    The type of the elements in the result sequence, returned by the selector function.

    Exceptions
    Type Condition
    ArgumentNullException

    selector is null.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX