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