Example #1
0
 public TennisFixtureClientService(ITennisFacadeAdminService tennisAdminService)
 {
     if (tennisAdminService == null)
     {
         throw new ArgumentNullException("tennisAdminService");
     }
     this.tennisAdminService = tennisAdminService;
 }
Example #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;
 }
Example #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;

    }
Example #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;
        }
Example #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;
 }