示例#1
0
 public BookService(
     CallCounter <BookService> callCounter
     )
 {
     CallCounter = callCounter ?? throw new ArgumentNullException(nameof(callCounter));
 }
 public UserService(
     CallCounter <UserService> callCounter
     )
 {
     CallCounter = callCounter;
 }
 public CacheableUserService(
     CallCounter <CacheableUserService> callCounter
     )
 {
     CallCounter = callCounter;
 }