2024-06-14 19:06:21 -04:00
|
|
|
|
namespace ReCodeIt.Models;
|
2024-06-11 19:18:48 -04:00
|
|
|
|
|
|
|
|
|
/// <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-15 16:21:12 -04:00
|
|
|
|
public bool Debug { get; set; }
|
|
|
|
|
public bool SilentMode { get; set; }
|
|
|
|
|
public string AssemblyPath { get; set; }
|
|
|
|
|
public string OutputPath { get; set; }
|
|
|
|
|
public string MappingPath { get; set; }
|
|
|
|
|
public bool RenameFields { get; set; }
|
|
|
|
|
public bool RenameProperties { get; set; }
|
|
|
|
|
public bool Publicize { get; set; }
|
|
|
|
|
public bool Unseal { get; set; }
|
2024-06-14 18:07:01 -04:00
|
|
|
|
}
|
2024-06-11 19:18:48 -04:00
|
|
|
|
|
2024-06-14 18:07:01 -04:00
|
|
|
|
public class RemapperSettings
|
|
|
|
|
{
|
2024-06-15 16:21:12 -04:00
|
|
|
|
public int MaxMatchCount { get; set; }
|
2024-06-13 17:55:06 -04:00
|
|
|
|
}
|
|
|
|
|
|
2024-06-13 18:15:52 -04:00
|
|
|
|
public class AutoMapperSettings
|
2024-06-13 17:55:06 -04:00
|
|
|
|
{
|
2024-06-15 16:21:12 -04:00
|
|
|
|
public int RequiredMatches { get; set; }
|
2024-06-14 18:07:01 -04:00
|
|
|
|
|
2024-06-15 16:21:12 -04:00
|
|
|
|
public int MinLengthToMatch { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string> TypesToIgnore { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string> TokensToMatch { get; set; }
|
2024-06-15 16:45:34 -04:00
|
|
|
|
|
|
|
|
|
public List<string> PropertyFieldBlackList { get; set; }
|
2024-06-11 19:18:48 -04:00
|
|
|
|
}
|