Exemplo n.º 1
0
        public void matches()
        {
            var match = new ExtensionMatch(FileChangeCategory.AppDomain, "*.spark");

            match.Matches("foo.spark").ShouldBeTrue();
            match.Matches("foo.bar").ShouldBeFalse();
        }
Exemplo n.º 2
0
 protected bool Equals(ExtensionMatch other)
 {
     return _category == other._category && string.Equals(_extension, other._extension);
 }
Exemplo n.º 3
0
 protected bool Equals(ExtensionMatch other)
 {
     return(_category == other._category && string.Equals(_extension, other._extension));
 }