Share via


Método Observable.GenerateWithTime<TState, TResult> (TState, Func<TState, Boolean>, Func<TState, TResult>, Func<TState, TimeSpan>, Func<TState, TState>, IScheduler)

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

Sintaxe

'Declaração
Public Shared Function GenerateWithTime(Of TState, TResult) ( _
    initialState As TState, _
    condition As Func(Of TState, Boolean), _
    resultSelector As Func(Of TState, TResult), _
    timeSelector As Func(Of TState, TimeSpan), _
    iterate As Func(Of TState, TState), _
    scheduler As IScheduler _
) As IObservable(Of TResult)
public static IObservable<TResult> GenerateWithTime<TState, TResult>(
    TState initialState,
    Func<TState, bool> condition,
    Func<TState, TResult> resultSelector,
    Func<TState, TimeSpan> timeSelector,
    Func<TState, TState> iterate,
    IScheduler scheduler
)
public:
generic<typename TState, typename TResult>
static IObservable<TResult>^ GenerateWithTime(
    TState initialState, 
    Func<TState, bool>^ condition, 
    Func<TState, TResult>^ resultSelector, 
    Func<TState, TimeSpan>^ timeSelector, 
    Func<TState, TState>^ iterate, 
    IScheduler^ scheduler
)
static member GenerateWithTime : 
        initialState:'TState * 
        condition:Func<'TState, bool> * 
        resultSelector:Func<'TState, 'TResult> * 
        timeSelector:Func<'TState, TimeSpan> * 
        iterate:Func<'TState, 'TState> * 
        scheduler:IScheduler -> IObservable<'TResult> 

Parâmetros de tipo

  • TState
  • TResult

Parâmetros

  • initialState
    Tipo: TState

Valor de retorno

Tipo: System.IObservable<TResult>

Informações sobre versão

.NET para aplicativos do Windows Phone

Com suporte em: Windows Phone 8, Silverlight 8.1

Segurança do .NET Framework

Consulte também

Referência

Observable Classe

Sobrecargas GenerateWithTime

Namespace Microsoft.Phone.Reactive