Example #1
0
 public static Eve GetInstance(Adam adam)
 {
     return(adam == null ?
            throw new ArgumentNullException() :
            _eve ?? (_eve = new Eve()));
 }
Example #2
0
 public static Adam GetInstance()
 {
     return(_adam ?? (_adam = new Adam()));
 }