Language

IAbstractPattern<TKey,TPayload,TRegister,TAccumulator>.Detect Method

Definition

Interface is only public to serve CLR strong typing - instances should only be created internally. Do not use directly.

public Microsoft.StreamProcessing.IStreamable<TKey,TRegister> Detect(Func<Microsoft.StreamProcessing.IAbstractPatternRoot<TKey,TPayload,TRegister,TAccumulator>,Microsoft.StreamProcessing.IPattern<TKey,TPayload,TRegister,TAccumulator>> pattern, long MaxDuration = 0, bool AllowOverlappingInstances = true, bool IsDeterministic = false);
abstract member Detect : Func<Microsoft.StreamProcessing.IAbstractPatternRoot<'Key, 'Payload, 'Register, 'Accumulator>, Microsoft.StreamProcessing.IPattern<'Key, 'Payload, 'Register, 'Accumulator>> * int64 * bool * bool -> Microsoft.StreamProcessing.IStreamable<'Key, 'Register>
Public Function Detect (pattern As Func(Of IAbstractPatternRoot(Of TKey, TPayload, TRegister, TAccumulator), IPattern(Of TKey, TPayload, TRegister, TAccumulator)), Optional MaxDuration As Long = 0, Optional AllowOverlappingInstances As Boolean = true, Optional IsDeterministic As Boolean = false) As IStreamable(Of TKey, TRegister)

Parameters

pattern
Func<IAbstractPatternRoot<TKey,TPayload,TRegister,TAccumulator>,IPattern<TKey,TPayload,TRegister,TAccumulator>>
MaxDuration
Int64
AllowOverlappingInstances
Boolean
IsDeterministic
Boolean

Returns

IStreamable<TKey,TRegister>

Applies to