コード例 #1
0
ファイル: Library.cs プロジェクト: natanfudge/Auto-Using
 public Library(LibraryIdentifier identifier, IEnumerable <string> assemblies, IEnumerable <LibraryIdentifier> dependencies)
 {
     Identifier   = identifier;
     Assemblies   = assemblies;
     Dependencies = dependencies;
 }
コード例 #2
0
ファイル: Library.cs プロジェクト: natanfudge/Auto-Using
 /// <summary>
 /// Returns true if this library has the same name as the parameter, and the version is at least the one of the parameter.
 /// </summary>
 public bool Matches(LibraryIdentifier identifier)
 {
     return(identifier.Name == this.Identifier.Name);
 }