Compartilhar via


Método TestScheduler.Start<T> (Func<IObservable<T>>, Int64, Int64, Int64)

Inicia o agendador de teste.

Namespace:Microsoft.Reactive.Testing
Assembly: Microsoft.Reactive.Testing (em Microsoft.Reactive.Testing.dll)

Sintaxe

'Declaration
Public Function Start(Of T) ( _
    create As Func(Of IObservable(Of T)), _
    created As Long, _
    subscribed As Long, _
    disposed As Long _
) As ITestableObserver(Of T)
'Usage
Dim instance As TestScheduler
Dim create As Func(Of IObservable(Of T))
Dim created As Long
Dim subscribed As Long
Dim disposed As Long
Dim returnValue As ITestableObserver(Of T)

returnValue = instance.Start(create, created, _
    subscribed, disposed)
public ITestableObserver<T> Start<T>(
    Func<IObservable<T>> create,
    long created,
    long subscribed,
    long disposed
)
public:
generic<typename T>
ITestableObserver<T>^ Start(
    Func<IObservable<T>^>^ create, 
    long long created, 
    long long subscribed, 
    long long disposed
)
member Start : 
        create:Func<IObservable<'T>> * 
        created:int64 * 
        subscribed:int64 * 
        disposed:int64 -> ITestableObserver<'T> 
JScript does not support generic types and methods.

Parâmetros de tipo

  • T

Parâmetros

  • criado
    Tipo: System.Int64
    Tempo virtual no qual invocar a fábrica para criar uma sequência observável.
  • subscribed
    Tipo: System.Int64
    A hora virtual na qual assinar a sequência observável criada.
  • Descartado
    Tipo: System.Int64
    A hora virtual na qual descartar a assinatura.

Valor Retornado

Tipo: Microsoft.Reactive.Testing.ITestableObserver<T>
O observador testável com gravações de notificações que ocorreram.

Consulte Também

Referência

Classe TestScheduler

Iniciar Sobrecarga

Microsoft.Reactive.Testing Namespace