Initial commit - Pingerino network monitoring application
هذا الالتزام موجود في:
21
Services/Interfaces/IConfigurationService.cs
Normal file
21
Services/Interfaces/IConfigurationService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace Pingerino.Services.Interfaces
|
||||
{
|
||||
public interface IConfigurationService
|
||||
{
|
||||
T GetValue<T>(string key, T defaultValue = default);
|
||||
void SetValue<T>(string key, T value);
|
||||
void Save();
|
||||
void Load();
|
||||
|
||||
// Specific application settings
|
||||
string LastUsedIpAddress { get; set; }
|
||||
int PingInterval { get; set; }
|
||||
bool AutoPingEnabled { get; set; }
|
||||
Point FormPosition { get; set; }
|
||||
string IpAddressValue { get; set; }
|
||||
string TextBoxIntervalValue { get; set; }
|
||||
}
|
||||
}
|
المرجع في مشكلة جديدة
حظر مستخدم