Add default value for writable image options.

This commit is contained in:
2018-09-30 22:28:59 +01:00
parent c899915153
commit fac608b8d3
32 changed files with 146 additions and 184 deletions

View File

@@ -83,8 +83,8 @@ namespace DiscImageChef.DiscImages
MediaType.PCCardTypeIV
};
// TODO: Support dynamic images
public IEnumerable<(string name, Type type, string description)> SupportedOptions =>
new (string name, Type type, string description)[] { };
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions =>
new (string name, Type type, string description, object @default)[] { };
public IEnumerable<string> KnownExtensions => new[] {".vhd"};
public bool IsWriting { get; private set; }
public string ErrorMessage { get; private set; }