Example #1
0
 public void AddHeadColor(AnimalColor color)
 {
     _HeadColors.Add(color);
 }
Example #2
0
 public void RemoveHeadColor(AnimalColor color)
 {
     _HeadColors.Remove(color);
 }
Example #3
0
 public static void SetTheColor(this Animal animal, AnimalColor color)
 {
     animal.SetValue(TheColorProperty, color);
 }