public void matches() { var match = new ExtensionMatch(FileChangeCategory.AppDomain, "*.spark"); match.Matches("foo.spark").ShouldBeTrue(); match.Matches("foo.bar").ShouldBeFalse(); }
protected bool Equals(ExtensionMatch other) { return _category == other._category && string.Equals(_extension, other._extension); }
protected bool Equals(ExtensionMatch other) { return(_category == other._category && string.Equals(_extension, other._extension)); }