mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create and use ParentablePath
This commit is contained in:
@@ -35,11 +35,6 @@ namespace SabreTools.Library.DatFiles
|
||||
|
||||
#region Publically available fields
|
||||
|
||||
/// <summary>
|
||||
/// DatStats object for reporting
|
||||
/// </summary>
|
||||
public DatStats Statistics { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Get the keys from the file dictionary
|
||||
/// </summary>
|
||||
@@ -63,6 +58,11 @@ namespace SabreTools.Library.DatFiles
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DatStats object for reporting
|
||||
/// </summary>
|
||||
public DatStats Statistics { get; private set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Accessors
|
||||
@@ -263,19 +263,6 @@ namespace SabreTools.Library.DatFiles
|
||||
Statistics = new DatStats();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor for statistics only
|
||||
/// </summary>
|
||||
/// <param name="stats">Existing statistics to pre-populate</param>
|
||||
public ItemDictionary(DatStats stats)
|
||||
{
|
||||
bucketedBy = BucketedBy.Default;
|
||||
mergedBy = DedupeType.None;
|
||||
items = new Dictionary<string, List<DatItem>>();
|
||||
|
||||
Statistics = stats;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Custom Functionality
|
||||
|
||||
Reference in New Issue
Block a user