Esempio n. 1
0
 public PolicyProvider(
     IUnitOfWorkLinq <Policy, Guid> db,
     ReferenceProvider referencesProvider,
     IEntityIdProvider <Policy, Guid> idProvider,
     IMessagePipe messagePipe = null,
     IProvideSpecifications <Policy> specProvider = null,
     EntityHandler <Policy, Guid> entityHandler   = null) :
     base(db, idProvider, messagePipe, specProvider, entityHandler)
 {
     _referencesProvider = referencesProvider;
     _db = db;
 }
 public DesignDomainService(
     FsUnitOfWork db,
     PolicyProvider policyProvider,
     ReferenceProvider referencesProvider,
     IEntityIdProvider <DesignDomain, Guid> keyBinder,
     IMessagePipe messagePipe = null,
     IProvideSpecifications <DesignDomain> specProvider = null,
     EntityHandler <DesignDomain, Guid> entityHandler   = null)
     : base(db, keyBinder, messagePipe, specProvider, entityHandler)
 {
     _referenceService = referencesProvider;
     _fsDb             = db;
     _policyProvider   = policyProvider;
 }