Ejemplo n.º 1
0
        /// <summary>Initializes a new instance of the <see cref="DomainServicesImplementation"/> class.</summary>
        /// <param name="domainDataService">The domain data service.</param>
        public DomainServicesImplementation(IDomainDataService domainDataService = null)
        {
            if (domainDataService == null)
            {
                domainDataService = DAOFactoryMethod.CurrentDAOFactory.DomainDataService;
            }

            this.domainDataService = domainDataService;
        }
Ejemplo n.º 2
0
 public void SetUp()
 {
     domainDataServices = MockRepository.GenerateMock <IDomainDataService>();
     domainServices     = new DomainServicesImplementation(domainDataServices);
 }
Ejemplo n.º 3
0
 public DomainController(IDomainDataService _serviceProvider)
 {
     this.serviceProvider = _serviceProvider;
 }