public static PluginSettings CreateDefaultSettings() { PluginSettings instance = new PluginSettings { DiskDrives = null, SelectedDrive = String.Empty, LowColor = DEFAULT_LOW_COLOR, LowThreshold = DEFAULT_LOW_THRESHOLD.ToString(), CriticalColor = DEFAULT_CRITICAL_COLOR, CriticalThreshold = DEFAULT_CRITICAL_THRESHOLD.ToString(), BackgroundImage = String.Empty, ShowLabel = false, DisplayMode = DisplayMode.SingleDrive, RotationSpeed = DEFAULT_ROTATION_SPEED_SECONDS.ToString(), }; return(instance); }
public static PluginSettings CreateDefaultSettings() { PluginSettings instance = new PluginSettings { SymbolName = String.Empty, RefreshSeconds = 60, ApiToken = String.Empty, BackgroundColor = "#000000", BackgroundImage = null, StockProvider = StockProviders.YAHOO, ModeSingle = true, ModeMultiple = false, RotationSpeed = DEFAULT_ROTATION_SPEED_SECONDS.ToString(), Symbols = String.Empty }; return(instance); }