-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathRuntimeManifest.cs
More file actions
31 lines (23 loc) · 856 Bytes
/
RuntimeManifest.cs
File metadata and controls
31 lines (23 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace SLZ.XRDoctor;
[Serializable]
public sealed class RuntimeManifest {
[JsonProperty("file_format_version", Required = Required.Always)]
public string FileFormatVersion { get; private set; } = null!;
[JsonProperty("runtime", Required = Required.Always)]
public Runtime Runtime { get; private set; } = null!;
[JsonConstructor]
public RuntimeManifest() { }
}
[Serializable]
public sealed class Runtime {
[JsonProperty("name")]
public string Name { get; private set; } = null!;
[JsonProperty("library_path", Required = Required.Always)]
public string LibraryPath { get; private set; } = null!;
[JsonExtensionData]
public IDictionary<string, object> AdditionalData { get; private set; } = null!;
[JsonConstructor]
public Runtime() { }
}