Exemplo n.º 1
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;

    }
Exemplo n.º 2
0
        public FootballConsole(IFootballFacadeAdminService footballService)
        {
            if (footballService == null)
            {
                throw new ArgumentNullException("footballService");
            }

            this.footballService = footballService;
        }
Exemplo n.º 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;
        }
Exemplo n.º 4
0
    public FootballConsole(IFootballFacadeAdminService footballService)
    {
      if (footballService == null) throw new ArgumentNullException("footballService");

      this.footballService = footballService;
    }