mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-24 02:39:46 +08:00
19 lines
659 B
C#
19 lines
659 B
C#
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) { }
|
|
}
|
|
}
|