예제 #1
0
 public TennisFixtureClientService(ITennisFacadeAdminService tennisAdminService)
 {
     if (tennisAdminService == null)
     {
         throw new ArgumentNullException("tennisAdminService");
     }
     this.tennisAdminService = tennisAdminService;
 }
예제 #2
0
 public TennisConsole(ITennisFacadeAdminService tennisService, 
   IWebRepositoryProvider webRepositoryProvider = null, ITwitterClient twitter = null)
 {
   if (tennisService == null) throw new ArgumentNullException("tennisService");
   
   this.tennisService = tennisService;
   this.webRepositoryProvider = webRepositoryProvider;
   this.twitter = twitter;
 }
예제 #3
0
    public SamuraiConsole(IFootballFacadeAdminService footballService, ITennisFacadeAdminService tennisService)
    {
      if (footballService == null) throw new ArgumentNullException("footballService");
      if (tennisService == null) throw new ArgumentNullException("tennisService");

      this.footballService = footballService;
      this.tennisService = tennisService;

    }
예제 #4
0
        public TennisConsole(ITennisFacadeAdminService tennisService,
                             IWebRepositoryProvider webRepositoryProvider = null, ITwitterClient twitter = null)
        {
            if (tennisService == null)
            {
                throw new ArgumentNullException("tennisService");
            }

            this.tennisService         = tennisService;
            this.webRepositoryProvider = webRepositoryProvider;
            this.twitter = twitter;
        }
예제 #5
0
        public SamuraiConsole(IFootballFacadeAdminService footballService, ITennisFacadeAdminService tennisService)
        {
            if (footballService == null)
            {
                throw new ArgumentNullException("footballService");
            }
            if (tennisService == null)
            {
                throw new ArgumentNullException("tennisService");
            }

            this.footballService = footballService;
            this.tennisService   = tennisService;
        }
 public TennisFixtureClientService(ITennisFacadeAdminService tennisAdminService) 
 {
   if (tennisAdminService == null) throw new ArgumentNullException("tennisAdminService");
   this.tennisAdminService = tennisAdminService;
 }