Exemple #1
0
 public Cat(Animal friend)
     : this()
 {
     Friend = friend;
 }
Exemple #2
0
 public Duck(Animal friend, int age)
     : this()
 {
     Interlocked.Increment(ref CtorFriendAge);
     Age = age;
     Friend = friend;
 }
Exemple #3
0
 public Duck(Animal friend)
     : this()
 {
     Friend = friend;
 }
Exemple #4
0
 public Duck(int age, Animal friend)
     : this()
 {
     Interlocked.Increment(ref CtorAgeFriend);
     Age = age;
     Friend = friend;
 }
Exemple #5
0
 public Dog(Animal friend)
     : this()
 {
     Friend = friend;
 }