Metodo Observable.GenerateWithTime<TState, TResult> (TState, Func<TState, Boolean>, Func<TState, TResult>, Func<TState, TimeSpan>, Func<TState, TState>, IScheduler)

Spazio dei nomi:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

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
)

Parametri di tipo

TState
TResult

Parametri

initialState
Tipo: TState
condition
Tipo: System.Func<TState, Boolean>
resultSelector
Tipo: System.Func<TState, TResult>
timeSelector
Tipo: System.Func<TState, TimeSpan>
iterate
Tipo: System.Func<TState, TState>
scheduler
Tipo: Microsoft.Phone.Reactive.IScheduler

Valore restituito

Tipo: System.IObservable<TResult>

.NET per applicazioni Windows Phone

Supportato in: Windows Phone 8, Silverlight 8.1

Mostra: