Created
June 20, 2021 13:36
-
-
Save rdelrosario/bc23994b11f8f0b7b6050b3bd2a16e85 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ReactiveToDoSample.Models | |
{ | |
public class Item : ReactiveObject | |
{ | |
public Item(string id, string title) | |
{ | |
Id = id; | |
Title = title; | |
} | |
public string Id { get; } | |
public string Title { get; } | |
public bool IsCompleted | |
{ | |
get => _isCompleted; | |
set => this.RaiseAndSetIfChanged(ref _isCompleted, value); | |
} | |
private bool _isCompleted; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment