Class TimeProcessingInstruction
Holds the new time that will be set to an object is being processed and action
indicating whether quantization should be cancelled or not.
  
  
  Inherited Members
Namespace: Melanchall.DryWetMidi.Tools
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class TimeProcessingInstruction
  Constructors
TimeProcessingInstruction(long)
Initializes a new instance of the TimeProcessingInstruction with the
specified time. This time will be set to an object is being processed.
  
  Declaration
public TimeProcessingInstruction(long time)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | time | The new time of an object. | 
Exceptions
| Type | Condition | 
|---|---|
| ArgumentOutOfRangeException | time is negative. | 
      
Fields
Skip
Indicates that object should be skipped and new time shouldn't be set.
  
  Declaration
public static readonly TimeProcessingInstruction Skip
  Field Value
| Type | Description | 
|---|---|
| TimeProcessingInstruction | 
Properties
Action
Gets an action indicating whether processing should be cancelled or not.
  
  Declaration
public TimeProcessingAction Action { get; }
  Property Value
| Type | Description | 
|---|---|
| TimeProcessingAction | 
Time
Gets the new time of an object.
  
  Declaration
public long Time { get; }
  Property Value
| Type | Description | 
|---|---|
| long |