-
Notifications
You must be signed in to change notification settings - Fork 0
Duration.Add
Chanan edited this page Aug 15, 2020
·
2 revisions
Duration.Add Method
Namespace: CW.Soloist.CompositionService.MusicTheory
Assembly: CW.Soloist.CompositionService.dll
Adds the given duration to this duration instance,
and returns the sum length of them as a new duration.
Name | Type | Description |
---|---|---|
duration | IDuration | The duration to add to this one |
The new duration with a length which is the sum of the addition.
public IDuration Add(IDuration duration)
{
return MusicTheoryServices.DurationAritmetic(MusicTheoryServices.AritmeticOperation.Add, this, duration)
.ReduceFractionToLowestTerms();
}
© Chanan Welt - Soloist
- Home
- Getting Started
- Design
- Business Logical Layer (CW.Soloist.CompositionService)
- Duration Representation
- IDuration
- Duration
- Duration Representation
- Data Access Layer
- Presentation Layer
- Business Logical Layer (CW.Soloist.CompositionService)