namespace ReCodeIt.Models;
///
/// All settings container
///
public class Settings
{
public AppSettings AppSettings { get; set; }
public RemapperSettings Remapper { get; set; }
public AutoMapperSettings AutoMapper { get; set; }
public CrossPatchingSettings CrossPatching { get; set; }
}
///
/// These are settings for the application
///
public class AppSettings
{
public bool Debug { get; set; }
public bool SilentMode { get; set; }
public bool RenameFields { get; set; }
public bool RenameProperties { get; set; }
}
///
/// These are settings for the manual remapper
///
public class RemapperSettings
{
public string AssemblyPath { get; set; }
public string OutputPath { get; set; }
public string MappingPath { get; set; }
public MappingSettings MappingSettings { get; set; }
}
///
/// These are settings for the auto mapping
///
public class AutoMapperSettings
{
public string AssemblyPath { get; set; }
public string OutputPath { get; set; }
public int RequiredMatches { get; set; }
public int MinLengthToMatch { get; set; }
public bool SearchMethods { get; set; }
public MappingSettings MappingSettings { get; set; }
public List TypesToIgnore { get; set; }
public List TokensToMatch { get; set; }
public List PropertyFieldBlackList { get; set; }
public List MethodParamaterBlackList { get; set; }
}
///
/// These are settings for the cross patching module
///
public class CrossPatchingSettings
{
public string OriginalAssemblyPath { get; set; }
public string TargetProjectAssemblyBuildPath { get; set; }
public string ReferencePath { get; set; }
public string MappingPath { get; set; }
public string OutputPath { get; set; }
}
///
/// These are settings that all versions of the remappers use
///
public class MappingSettings
{
public bool RenameFields { get; set; }
public bool RenameProperties { get; set; }
public bool Publicize { get; set; }
public bool Unseal { get; set; }
}