Skip to content

Duration(IDuration,bool)

Chanan edited this page Aug 15, 2020 · 3 revisions

Duration(IDuration,bool) Constructor

Namespace: CW.Soloist.CompositionService.MusicTheory
Assembly: CW.Soloist.CompositionService.dll

Summary

Copy constructor: constructs a Duration instance based on the duration parameter value.

Source Code

public Duration(IDuration duration, bool reduceToLowestTerms = true)
    : this(duration.Numerator, duration.Denominator, reduceToLowestTerms) { }

Parameters

Name Type Description
duration IDuration The duration to copy the values from.
reduceToLowestTerms bool Determines whether to reduce the numerator and denominator do their lowest terms.
  • Home
  • Getting Started
  • Design
    • Business Logical Layer (CW.Soloist.CompositionService)
    • Data Access Layer
    • Presentation Layer
Clone this wiki locally