Search Results for

    Show / Hide Table of Contents

    Class HighPrecisionTickGenerator

    Tick generator providing most accurate ticking, allowing firing intervals of 1 ms which is the smallest possible one.
    Inheritance
    object
    TickGenerator
    HighPrecisionTickGenerator
    Implements
    IDisposable
    Inherited Members
    TickGenerator.TickGenerated
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Melanchall.DryWetMidi.Multimedia
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public sealed class HighPrecisionTickGenerator : TickGenerator, IDisposable

    Fields

    MaxInterval

    The largest possible interval.
    Declaration
    public static readonly TimeSpan MaxInterval
    Field Value
    Type Description
    TimeSpan

    MinInterval

    The smallest possible interval.
    Declaration
    public static readonly TimeSpan MinInterval
    Field Value
    Type Description
    TimeSpan

    Methods

    Dispose()

    Releases all resources used by the current tick generator.
    Declaration
    public override void Dispose()
    Overrides
    TickGenerator.Dispose()

    Dispose(bool)

    Releases all resources used by the current tick generator.
    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    TickGenerator.Dispose(bool)

    ~HighPrecisionTickGenerator()

    Finalizes the current instance of the HighPrecisionTickGenerator.
    Declaration
    protected ~HighPrecisionTickGenerator()

    Start(TimeSpan)

    Starts a tick generator.
    Declaration
    protected override void Start(TimeSpan interval)
    Parameters
    Type Name Description
    TimeSpan interval Interval between ticks.
    Overrides
    TickGenerator.Start(TimeSpan)
    Exceptions
    Type Condition
    ArgumentOutOfRangeException interval is out of [MinInterval; MaxInterval] range.

    Stop()

    Stops a tick generator.
    Declaration
    protected override void Stop()
    Overrides
    TickGenerator.Stop()

    Implements

    IDisposable
    In this article
    Back to top 2024 / Generated by DocFX