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