コード例 #1
0
 public PossessionController(IPossessionsService possessionsService, IUserIDService userIDService)
 {
     _possessionsService = possessionsService;
     _UserIDService      = userIDService;
 }
コード例 #2
0
 /// <summary>
 /// Possesion interface constructor.
 /// </summary>
 public PossessionsController(IPossessionsService possessionsService, IPilotsService pilotsService)
 {
     _possessionsService = possessionsService ?? throw new ArgumentNullException(nameof(possessionsService));
     _PilotService       = pilotsService ?? throw new ArgumentNullException(nameof(pilotsService));
 }