Search Results for

    Show / Hide Table of Contents

    Class RegularPrecisionTickGenerator

    Tick generator which uses Timer for ticking.
    Inheritance
    object
    TickGenerator
    RegularPrecisionTickGenerator
    Implements
    IDisposable
    Inherited Members
    TickGenerator.TickGenerated
    TickGenerator.Dispose()
    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 RegularPrecisionTickGenerator : 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(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)

    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