Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created December 26, 2017 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/9721df7eabc10b293b1f5afbd5e37258 to your computer and use it in GitHub Desktop.
Save jfversluis/9721df7eabc10b293b1f5afbd5e37258 to your computer and use it in GitHub Desktop.
The group model
public class PhoneGroup : ObservableCollection<Phone>
{
public string Name { get; private set; }
public PhoneGroup(string name)
: base()
{
Name = name;
}
public PhoneGroup(string name, IEnumerable<Phone> source)
: base(source)
{
Name = name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment