Example #1
0
 public TheInheritor(TheArgument theArgument) : base(theArgument == null ? -1 : theArgument.TheId)
 {
     if (theArgument == null)
     {
         throw new ArgumentNullException("theArgument");
     }
 }
Example #2
0
 public TheInheritor(TheArgument theArgument, Func <TheArgument, int> idSelector)
     : base(idSelector(theArgument))
 {