jamesmontemagno / SettingsPlugin

Read and Write Settings Plugin for Xamarin and Windows
MIT License
324 stars 80 forks source link

Provide Observable Base Class #91

Closed dansiegel closed 7 years ago

dansiegel commented 7 years ago

It would be fantastic if the Settings Plugin provided an Observable Base class that your settings class could implement similar to the following:

public class Settings : SettingsBase
{
    public string SomeSetting
    {
        get => GetProperty<string>();
        set => SetProperty(value);
    }

    public string AnotherSetting
    {
        get => GetProperty("Hello World");
        set => SetProperty(value);
    }
}
jamesmontemagno commented 7 years ago

I don't like to force base classes on anyone and I have guides for best practice.