public void matches() { var match = new ExactFileMatch(FileChangeCategory.AppDomain, "web.config"); match.Matches("web.config").ShouldBeTrue(); match.Matches("Web.config").ShouldBeTrue(); match.Matches("foo.config").ShouldBeFalse(); match.Matches("bar.config").ShouldBeFalse(); }
protected bool Equals(ExactFileMatch other) { return(_category == other._category && string.Equals(_file, other._file)); }
protected bool Equals(ExactFileMatch other) { return _category == other._category && string.Equals(_file, other._file); }