Partager via


Observable.GenerateWithTime<TState, TResult>, méthode (TState, Func<TState, Boolean>, Func<TState, TResult>, Func<TState, DateTimeOffset>, Func<TState, TState>)

Espace de noms :  Microsoft.Phone.Reactive
Assembly :  Microsoft.Phone.Reactive (dans Microsoft.Phone.Reactive.dll)

Syntaxe

'Déclaration
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, DateTimeOffset), _
    iterate As Func(Of TState, TState) _
) As IObservable(Of TResult)
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
)
public:
generic<typename TState, typename TResult>
static IObservable<TResult>^ GenerateWithTime(
    TState initialState, 
    Func<TState, bool>^ condition, 
    Func<TState, TResult>^ resultSelector, 
    Func<TState, DateTimeOffset>^ timeSelector, 
    Func<TState, TState>^ iterate
)
static member GenerateWithTime : 
        initialState:'TState * 
        condition:Func<'TState, bool> * 
        resultSelector:Func<'TState, 'TResult> * 
        timeSelector:Func<'TState, DateTimeOffset> * 
        iterate:Func<'TState, 'TState> -> IObservable<'TResult> 

Paramètres de type

  • TState
  • TResult

Paramètres

  • initialState
    Type : TState

Valeur de retour

Type : System.IObservable<TResult>

Informations de version

.NET pour les applications Windows Phone

Pris en charge dans : Windows Phone 8, Silverlight 8.1

Sécurité .NET Framework

Voir aussi

Référence

Observable Classe

GenerateWithTime, surcharge

Microsoft.Phone.Reactive, espace de noms