source: OniSplit/Dae/Input.cs@ 1117

Last change on this file since 1117 was 1114, checked in by iritscen, 5 years ago

Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.

File size: 606 bytes
RevLine 
[1114]1using System;
2
3namespace 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}
Note: See TracBrowser for help on using the repository browser.