public BochsHostSettings(IReadOnlyDictionary <string, string> settings) : base(settings) { BochsDirectory = GetProperty <string>(nameof(BochsDirectory)); ConfigurationFile = GetProperty <string>(nameof(ConfigurationFile)); OverwriteConfigurationFile = GetProperty <bool>(nameof(OverwriteConfigurationFile)); IsoFile = GetProperty <string>(nameof(IsoFile)); HardDiskFile = GetProperty <string>(nameof(HardDiskFile)); ConfigurationInterface = GetProperty <string>(nameof(ConfigurationInterface)); DisplayLibrary = GetProperty <string>(nameof(DisplayLibrary)); DisplayLibraryOptions = new BochsDisplayLibraryOptions(settings); UseDebugVersion = GetProperty <bool>(nameof(UseDebugVersion)); StartDebugGui = GetProperty <bool>(nameof(StartDebugGui)); PipeClientName = GetProperty <string>(nameof(PipeClientName)); PipeServerName = GetProperty <string>(nameof(PipeServerName)); }
public BochsLaunchSettings() { DisplayLibraryOptions = new BochsDisplayLibraryOptions(); }