Свойство | Тип | Описание | |
---|---|---|---|
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 |