mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-24 10:49:51 +08:00
配置文件功能完善
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace System.Application.Serialization
|
||||
{
|
||||
public sealed class SerializableProperty<T> : SerializablePropertyBase<T>
|
||||
{
|
||||
public SerializableProperty(string key) : this(key, default(T)) { }
|
||||
|
||||
public SerializableProperty(string key, T defaultValue) : base(key, ApplicationSettingsProvider.Default, defaultValue) { }
|
||||
|
||||
public SerializableProperty(string key, ISerializationProvider provider) : base(key, provider) { }
|
||||
|
||||
public SerializableProperty(string key, ISerializationProvider provider, T defaultValue) : base(key, provider, defaultValue) { }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user