Created
December 26, 2017 21:13
-
-
Save jfversluis/9721df7eabc10b293b1f5afbd5e37258 to your computer and use it in GitHub Desktop.
The group model
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
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