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