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

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, DateTimeOffset> timeSelector,
	Func<TState, TState> iterate
)

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, DateTimeOffset>
iterate
Tipo: System.Func<TState, TState>

Valore restituito

Tipo: System.IObservable<TResult>

.NET per applicazioni Windows Phone

Supportato in: Windows Phone 8, Silverlight 8.1

Mostra: