AssemblyTool/AssemblyRemapper/Models/AppSettingsModel.cs

40 lines
1.1 KiB
C#
Raw Normal View History

2024-06-11 19:18:48 -04:00
namespace AssemblyRemapper.Models;
/// <summary>
/// Remap config
/// </summary>
2024-06-13 18:15:52 -04:00
public class Settings
2024-06-13 17:55:06 -04:00
{
public AppSettings AppSettings { get; set; }
2024-06-13 20:25:11 -04:00
public RemapperSettings Remapper { get; set; }
2024-06-13 17:55:06 -04:00
2024-06-13 20:25:11 -04:00
public AutoMapperSettings AutoMapper { get; set; }
2024-06-13 17:55:06 -04:00
}
2024-06-13 18:15:52 -04:00
public class AppSettings
2024-06-11 19:18:48 -04:00
{
2024-06-13 17:55:06 -04:00
public bool Debug { get; set; } = false;
public bool SilentMode { get; set; } = true;
public bool MatchMode { get; set; } = false;
}
2024-06-13 18:15:52 -04:00
public class RemapperSettings
2024-06-13 17:55:06 -04:00
{
public int MaxMatchCount { get; set; } = 5;
public bool Publicize { get; set; } = false;
public bool Unseal { get; set; } = false;
2024-06-11 19:18:48 -04:00
2024-06-13 17:55:06 -04:00
public string AssemblyPath { get; set; } = string.Empty;
public string OutputPath { get; set; } = string.Empty;
public string MappingPath { get; set; } = string.Empty;
}
2024-06-13 18:15:52 -04:00
public class AutoMapperSettings
2024-06-13 17:55:06 -04:00
{
2024-06-13 18:09:31 -04:00
public int RequiredMatches { get; set; } = 5;
public bool MatchMode { get; set; } = true;
2024-06-13 17:55:06 -04:00
public bool Publicize { get; set; } = false;
public bool Unseal { get; set; } = false;
2024-06-13 18:09:31 -04:00
public List<string> NamesToIgnore { get; set; } = [];
2024-06-11 19:18:48 -04:00
}