Search Results for

    Show / Hide Table of Contents

    Class Reproducible

    Collection of reproducible interpolators.

    Inheritance
    System.Object
    Reproducible
    Namespace: Microsoft.Psi
    Assembly: Microsoft.Psi.dll
    Syntax
    public static class Reproducible : object

    Methods

    View Source

    Exact<T>()

    Reproducible interpolator that selects the value with an originating time exactly matching the interpolation time.

    Declaration
    public static ReproducibleInterpolator<T> Exact<T>()
    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    ExactOrDefault<T>(T)

    Reproducible interpolator that selects the value with an originating time exactly matching the interpolation time, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> ExactOrDefault<T>(T defaultValue = null)
    Parameters
    Type Name Description
    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    First<T>()

    Reproducible interpolator that selects the first value in the stream.

    Declaration
    public static ReproducibleInterpolator<T> First<T>()
    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    First<T>(RelativeTimeInterval)

    Reproducible interpolator that selects the first value within a specified RelativeTimeInterval.

    Declaration
    public static ReproducibleInterpolator<T> First<T>(RelativeTimeInterval relativeTimeInterval)
    Parameters
    Type Name Description
    RelativeTimeInterval relativeTimeInterval

    The relative time interval within which to search for the first message.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    First<T>(TimeSpan)

    Reproducible interpolator that selects the first value within a specified time tolerance.

    Declaration
    public static ReproducibleInterpolator<T> First<T>(TimeSpan tolerance)
    Parameters
    Type Name Description
    TimeSpan tolerance

    The tolerance within which to search for the first message.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    FirstOrDefault<T>(T)

    Reproducible interpolator that selects the first value in the stream, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> FirstOrDefault<T>(T defaultValue = null)
    Parameters
    Type Name Description
    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    FirstOrDefault<T>(RelativeTimeInterval, T)

    Reproducible interpolator that selects the first value within a specified RelativeTimeInterval, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> FirstOrDefault<T>(RelativeTimeInterval relativeTimeInterval, T defaultValue = null)
    Parameters
    Type Name Description
    RelativeTimeInterval relativeTimeInterval

    The relative time interval within which to search for the first message.

    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    FirstOrDefault<T>(TimeSpan, T)

    Reproducible interpolator that selects the first value within a specified time tolerance, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> FirstOrDefault<T>(TimeSpan tolerance, T defaultValue = null)
    Parameters
    Type Name Description
    TimeSpan tolerance

    The tolerance within which to search for the first message.

    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    Last<T>()

    Reproducible interpolator that selects the last value in the stream.

    Declaration
    public static ReproducibleInterpolator<T> Last<T>()
    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    Last<T>(RelativeTimeInterval)

    Reproducible interpolator that selects the last value within a specified RelativeTimeInterval.

    Declaration
    public static ReproducibleInterpolator<T> Last<T>(RelativeTimeInterval relativeTimeInterval)
    Parameters
    Type Name Description
    RelativeTimeInterval relativeTimeInterval

    The relative time interval within which to search for the last message.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    Last<T>(TimeSpan)

    Reproducible interpolator that selects the first value within a specified time tolerance.

    Declaration
    public static ReproducibleInterpolator<T> Last<T>(TimeSpan tolerance)
    Parameters
    Type Name Description
    TimeSpan tolerance

    The tolerance within which to search for the last message.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    LastOrDefault<T>(T)

    Reproducible interpolator that selects the last value in the stream, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> LastOrDefault<T>(T defaultValue = null)
    Parameters
    Type Name Description
    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    LastOrDefault<T>(RelativeTimeInterval, T)

    Reproducible interpolator that selects the last value within a specified RelativeTimeInterval, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> LastOrDefault<T>(RelativeTimeInterval relativeTimeInterval, T defaultValue = null)
    Parameters
    Type Name Description
    RelativeTimeInterval relativeTimeInterval

    The relative time interval within which to search for the last message.

    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    LastOrDefault<T>(TimeSpan, T)

    Reproducible interpolator that selects the first value within a specified time tolerance, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> LastOrDefault<T>(TimeSpan tolerance, T defaultValue = null)
    Parameters
    Type Name Description
    TimeSpan tolerance

    The tolerance within which to search for the last message.

    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    Linear()

    Reproducible interpolator that performs a linear interpolation, between the nearest messages to the originating time.

    Declaration
    public static AdjacentValuesInterpolator<double, double> Linear()
    Returns
    Type Description
    AdjacentValuesInterpolator<System.Double, System.Double>

    The linear interpolator.

    View Source

    Nearest<T>()

    Reproducible interpolator that selects the value with an originating time nearest to the interpolation time.

    Declaration
    public static ReproducibleInterpolator<T> Nearest<T>()
    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    Nearest<T>(RelativeTimeInterval)

    Reproducible interpolator that selects the value with an originating time nearest to the interpolation time, within a specified RelativeTimeInterval.

    Declaration
    public static ReproducibleInterpolator<T> Nearest<T>(RelativeTimeInterval relativeTimeInterval)
    Parameters
    Type Name Description
    RelativeTimeInterval relativeTimeInterval

    The relative time interval within which to search for the nearest message.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    Nearest<T>(TimeSpan)

    Reproducible interpolator that selects the value with an originating time nearest to the interpolation time, within a given tolerance.

    Declaration
    public static ReproducibleInterpolator<T> Nearest<T>(TimeSpan tolerance)
    Parameters
    Type Name Description
    TimeSpan tolerance

    The tolerance within which to search for the nearest message.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    NearestOrDefault<T>(T)

    Reproducible interpolator that selects the value with an originating time nearest to the interpolation time, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> NearestOrDefault<T>(T defaultValue = null)
    Parameters
    Type Name Description
    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    NearestOrDefault<T>(RelativeTimeInterval, T)

    Reproducible interpolator that selects the value with an originating time nearest to the interpolation time, within a specified RelativeTimeInterval, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> NearestOrDefault<T>(RelativeTimeInterval relativeTimeInterval, T defaultValue = null)
    Parameters
    Type Name Description
    RelativeTimeInterval relativeTimeInterval

    The relative time interval within which to search for the nearest message.

    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    View Source

    NearestOrDefault<T>(TimeSpan, T)

    Reproducible interpolator that selects the value with an originating time nearest to the interpolation time, within a given tolerance, or default if no such value is found.

    Declaration
    public static ReproducibleInterpolator<T> NearestOrDefault<T>(TimeSpan tolerance, T defaultValue = null)
    Parameters
    Type Name Description
    TimeSpan tolerance

    The tolerance within which to search for the nearest message.

    T defaultValue

    An optional default value to use.

    Returns
    Type Description
    ReproducibleInterpolator<T>

    The reproducible interpolator.

    Type Parameters
    Name Description
    T

    The message type.

    • View Source
    In This Article
    • Methods
      • Exact<T>()
      • ExactOrDefault<T>(T)
      • First<T>()
      • First<T>(RelativeTimeInterval)
      • First<T>(TimeSpan)
      • FirstOrDefault<T>(T)
      • FirstOrDefault<T>(RelativeTimeInterval, T)
      • FirstOrDefault<T>(TimeSpan, T)
      • Last<T>()
      • Last<T>(RelativeTimeInterval)
      • Last<T>(TimeSpan)
      • LastOrDefault<T>(T)
      • LastOrDefault<T>(RelativeTimeInterval, T)
      • LastOrDefault<T>(TimeSpan, T)
      • Linear()
      • Nearest<T>()
      • Nearest<T>(RelativeTimeInterval)
      • Nearest<T>(TimeSpan)
      • NearestOrDefault<T>(T)
      • NearestOrDefault<T>(RelativeTimeInterval, T)
      • NearestOrDefault<T>(TimeSpan, T)
    Back to top Privacy & Cookies | Terms Of Use | Trademarks | © Microsoft
    Generated by DocFX