mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Simplify Options constructor
This commit is contained in:
@@ -175,17 +175,11 @@ namespace DICUI.Data
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Empty constructor for legacy compatiblity
|
||||
/// </summary>
|
||||
/// TODO: Eventually remove this empty constructor
|
||||
public Options() { }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor taking a dictionary for settings
|
||||
/// </summary>
|
||||
/// <param name="settings"></param>
|
||||
public Options(Dictionary<string, string> settings)
|
||||
public Options(Dictionary<string, string> settings = null)
|
||||
{
|
||||
this._settings = settings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user