mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Consolidate setter code
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using SabreTools.Core;
|
||||
using SabreTools.IO.Readers;
|
||||
using SabreTools.Logging;
|
||||
|
||||
@@ -12,19 +10,14 @@ namespace SabreTools.Filtering
|
||||
#region Fields
|
||||
|
||||
/// <summary>
|
||||
/// MachineField to update with INI information
|
||||
/// Type and field to update with INI information
|
||||
/// </summary>
|
||||
public MachineField MachineField { get; set; } = MachineField.NULL;
|
||||
|
||||
/// <summary>
|
||||
/// DatItemField to update with INI information
|
||||
/// </summary>
|
||||
public DatItemField DatItemField { get; set; } = DatItemField.NULL;
|
||||
public (string?, string?) FieldName { get; set; } = (null, null);
|
||||
|
||||
/// <summary>
|
||||
/// Mappings from machine names to value
|
||||
/// </summary>
|
||||
public Dictionary<string, string> Mappings { get; set; } = new Dictionary<string, string>();
|
||||
public Dictionary<string, string> Mappings { get; } = [];
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user