| Revision: | 1114 |
| Committed: | Wed Jan 22 14:08:57 2020 UTC (5 years, 9 months ago) by iritscen |
| File size: | 606 byte(s) |
| Log Message: | Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years. |
| # | Content |
|---|---|
| 1 | using System; |
| 2 | |
| 3 | namespace Oni.Dae |
| 4 | { |
| 5 | internal class Input |
| 6 | { |
| 7 | public Input() |
| 8 | { |
| 9 | } |
| 10 | |
| 11 | public Input(Semantic semantic, Source source) |
| 12 | { |
| 13 | if (semantic == Semantic.None) |
| 14 | throw new ArgumentException("Semantic None is not a valid value", "semantic"); |
| 15 | |
| 16 | if (source == null) |
| 17 | throw new ArgumentNullException("source"); |
| 18 | |
| 19 | Semantic = semantic; |
| 20 | Source = source; |
| 21 | } |
| 22 | |
| 23 | public Semantic Semantic { get; set; } |
| 24 | public Source Source { get; set; } |
| 25 | } |
| 26 | } |