mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 18:17:27 +08:00
[+] AquaMai.Config.ApiVersion (#91)
* Add ApiVersion * Fix SectionNameOrder
This commit is contained in:
9
AquaMai/AquaMai.Config/ApiVersion.cs
Normal file
9
AquaMai/AquaMai.Config/ApiVersion.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace AquaMai.Config;
|
||||
|
||||
public static class ApiVersion
|
||||
{
|
||||
// Using a raw string for API version instead of a constant for maximum compatibility.
|
||||
// When breaking changes are made, increment the major version.
|
||||
// When new APIs are added in a backwards-compatible but non-forward-compatible manner, increment the minor version.
|
||||
public const string Version = "1.0";
|
||||
}
|
||||
@@ -84,7 +84,7 @@ public class ReflectionManager : IReflectionManager
|
||||
sectionsByFullName.Add(type.FullName, section);
|
||||
}
|
||||
|
||||
var order = reflectionProvider.GetEnum("AquaMai.Mods.SetionNameOrder");
|
||||
var order = reflectionProvider.GetEnum("AquaMai.Mods.SectionNameOrder");
|
||||
sections = sections
|
||||
.OrderBy(x => x.Key)
|
||||
.OrderBy(x =>
|
||||
|
||||
Reference in New Issue
Block a user