public RepositoryPattern(string pattern) { Contract.Requires(pattern != null); this.pattern = pattern; }