Class Interpolator<T>
Defines a stream interpolator with the same input and output type.
Inherited Members
Namespace: Microsoft.Psi
Assembly: Microsoft.Psi.dll
Syntax
public abstract class Interpolator<T> : Interpolator<T, T>
Type Parameters
Name | Description |
---|---|
T | The type of the input messages and of the result. |
Operators
View SourceImplicit(RelativeTimeInterval to Interpolator<T>)
Implicitly convert relative time intervals to the equivalent of a reproducible nearest match within that window.
Declaration
public static implicit operator Interpolator<T>(RelativeTimeInterval window)
Parameters
Type | Name | Description |
---|---|---|
RelativeTimeInterval | window | Window within which to match messages. |
Returns
Type | Description |
---|---|
Interpolator<T> |
Implicit(TimeSpan to Interpolator<T>)
Implicitly convert timespan to the equivalent of a reproducible nearest match with that tolerance.
Declaration
public static implicit operator Interpolator<T>(TimeSpan tolerance)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | tolerance | Relative window tolerance within which to match messages. |
Returns
Type | Description |
---|---|
Interpolator<T> |