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

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