Last active
December 31, 2015 09:39
-
-
Save jamesmontemagno/7967941 to your computer and use it in GitHub Desktop.
This file contains 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
using Newtonsoft.Json; | |
namespace TodoList.Portable | |
{ | |
public class TodoItem | |
{ | |
public string Id { get; set; } | |
[JsonProperty(PropertyName = "text")] | |
public string Text { get; set; } | |
[JsonProperty(PropertyName = "complete")] | |
public bool Complete { get; set; } | |
public override string ToString() | |
{ | |
return Text; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment