Ejemplo n.º 1
0
 public RemoteSettingsValidator(ICycleDetection cycleDetection, IScopesStorageHandler scopesStorageHandler)
 {
     CodeContract.RequiresArgumentNotNull <ICycleDetection>(cycleDetection, "cycleDetection");
     CodeContract.RequiresArgumentNotNull <IScopesStorageHandler>(scopesStorageHandler, "scopesStorageHandler");
     this.cycleDetection       = cycleDetection;
     this.scopesStorageHandler = scopesStorageHandler;
 }
Ejemplo n.º 2
0
 public ScopeScopeFilterProvider(IScopesStorageHandler storage, IScopeParserFactory factory)
 {
     CodeContract.RequiresArgumentNotNull <IScopesStorageHandler>(storage, "storage");
     CodeContract.RequiresArgumentNotNull <IScopeParserFactory>(factory, "factory");
     this.storage       = storage;
     scopeParserFactory = factory;
 }