프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AddEntry | void | ||
DeleteEntry | bool | ||
FindEntry | System.Xml.Linq.XElement | ||
GetDocument | System.Xml.Linq.XDocument | ||
GetPackageReferences | IEnumerable |
||
SaveDocument | void |
메소드 | 설명 | |
---|---|---|
AddEntry ( string id, SemanticVersion version ) : void | ||
AddEntry ( string id, SemanticVersion version, FrameworkName targetFramework ) : void | ||
DeleteEntry ( string id, SemanticVersion version ) : bool |
Deletes an entry from the file with matching id and version. Returns true if the file was deleted.
|
|
EntryExists ( string packageId, SemanticVersion version ) : bool | ||
FindEntryWithLatestVersionById ( string id ) : PackageName | ||
PackageReferenceFile ( IFileSystem fileSystem, string path ) : System | ||
PackageReferenceFile ( string path ) : System |
메소드 | 설명 | |
---|---|---|
AddEntry ( System.Xml.Linq.XDocument document, string id, SemanticVersion version, FrameworkName targetFramework ) : void | ||
DeleteEntry ( System.Xml.Linq.XDocument document, string id, SemanticVersion version ) : bool | ||
FindEntry ( System.Xml.Linq.XDocument document, string id, SemanticVersion version ) : System.Xml.Linq.XElement | ||
GetDocument ( bool createIfNotExists = false ) : System.Xml.Linq.XDocument | ||
GetPackageReferences ( ) : IEnumerable |
||
SaveDocument ( System.Xml.Linq.XDocument document ) : void |
public AddEntry ( string id, SemanticVersion version ) : void | ||
id | string | |
version | SemanticVersion | |
리턴 | void |
public AddEntry ( string id, SemanticVersion version, FrameworkName targetFramework ) : void | ||
id | string | |
version | SemanticVersion | |
targetFramework | FrameworkName | |
리턴 | void |
public DeleteEntry ( string id, SemanticVersion version ) : bool | ||
id | string | |
version | SemanticVersion | |
리턴 | bool |
public EntryExists ( string packageId, SemanticVersion version ) : bool | ||
packageId | string | |
version | SemanticVersion | |
리턴 | bool |
public FindEntryWithLatestVersionById ( string id ) : PackageName | ||
id | string | |
리턴 | PackageName |
public PackageReferenceFile ( IFileSystem fileSystem, string path ) : System | ||
fileSystem | IFileSystem | |
path | string | |
리턴 | System |
public PackageReferenceFile ( string path ) : System | ||
path | string | |
리턴 | System |