Search Results for

    Show / Hide Table of Contents

    Interface ITimedObject

    Represents an object that has time.
    Namespace: Melanchall.DryWetMidi.Interaction
    Assembly: Melanchall.DryWetMidi.dll
    Syntax
    public interface ITimedObject

    Properties

    Time

    Gets the start time of an object.
    Declaration
    long Time { get; set; }
    Property Value
    Type Description
    long
    Remarks
    Note that the returned value will be in ticks (not seconds, not milliseconds and so on). Please read Time and length article to learn how you can get the time in different representations.
    Exceptions
    Type Condition
    ArgumentOutOfRangeException value is negative.

    Methods

    Clone()

    Clones object by creating a copy of it.
    Declaration
    ITimedObject Clone()
    Returns
    Type Description
    ITimedObject Copy of the object.

    Extension Methods

    TimedObjectUtilities.SetTime<TObject>(TObject, ITimeSpan, TempoMap)
    TimedObjectUtilities.TimeAs(ITimedObject, TimeSpanType, TempoMap)
    TimedObjectUtilities.TimeAs<TTime>(ITimedObject, TempoMap)
    In this article
    Back to top 2024 / Generated by DocFX