Пример #1
0
 public void AddImplementor(string implementor)
 {
     if (implementor != typeof(object).FullName && !Implements.Contains(implementor))
     {
         Implements.Add(implementor);
         Commit();
     }
 }
Пример #2
0
 public bool Matches(string name, string versionRange) =>
 Implements.Contains(name) && new SemVer.Range(versionRange).IsSatisfied(Version);