Class PackageManagerWebService
A service for accessing package manager webs information.
Inheritance
Implements
Namespace: FhirCodeGenBlazor.Services
Assembly: FhirCodeGenBlazor.dll
Syntax
public class PackageManagerWebService : IDisposable, IPackageManagerWebService
Constructors
| Improve this Doc View SourcePackageManagerWebService()
Initializes a new instance of the Package
Declaration
public PackageManagerWebService()
Properties
| Improve this Doc View SourcePublishedReleases
Gets the published releases.
Declaration
public List<FhirPackageCommon.PublishedReleaseInformation> PublishedReleases { get; }
Property Value
Type | Description |
---|---|
List<Microsoft. |
Methods
| Improve this Doc View SourceDeletePackage(String)
Deletes the package described by directive.
Declaration
public void DeletePackage(string directive)
Parameters
Type | Name | Description |
---|---|---|
System. |
directive | The directive. |
Dispose(Boolean)
Releases the unmanaged resources used by the FhirModelComparer.Server.Services.FhirManagerService and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System. |
disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
GetAllPackageManifests()
Gets all package manifests in this collection.
Declaration
public IEnumerable<PackageCacheRecord> GetAllPackageManifests()
Returns
Type | Description |
---|---|
IEnumerable<Package |
An enumerator that allows foreach to be used to process all package manifests in this collection. |
Init()
Initializes this object.
Declaration
public void Init()
LoadRequestStatus(String)
State of load request.
Declaration
public PackageLoadStateEnum LoadRequestStatus(string directive)
Parameters
Type | Name | Description |
---|---|---|
System. |
directive | The directive. |
Returns
Type | Description |
---|---|
Package |
A RequestStateEnum. |
RequestDownload(String, String, out PackageLoadStateEnum)
Request download.
Declaration
public void RequestDownload(string directive, string branchName, out PackageLoadStateEnum requestState)
Parameters
Type | Name | Description |
---|---|---|
System. |
directive | The directive. |
System. |
branchName | Name of the branch. |
Package |
requestState | [out] State of the request. |
RequestLoad(String, out PackageLoadStateEnum)
Request package load.
Declaration
public void RequestLoad(string directive, out PackageLoadStateEnum requestState)
Parameters
Type | Name | Description |
---|---|---|
System. |
directive | The directive. |
Package |
requestState |
StateHasChanged()
State has changed.
Declaration
public void StateHasChanged()
TryGetCoreCiPackageDetails(String, out NpmPackageDetails)
Attempts to get core ci package details the NpmPackageDetails from the given string.
Declaration
public bool TryGetCoreCiPackageDetails(string branchName, out NpmPackageDetails details)
Parameters
Type | Name | Description |
---|---|---|
System. |
branchName | Name of the branch. |
Npm |
details | [out] The details. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |
TryGetGuideCiPackageDetails(String, out NpmPackageDetails)
Attempts to get guide ci package details the NpmPackageDetails from the given string.
Declaration
public bool TryGetGuideCiPackageDetails(string branchName, out NpmPackageDetails details)
Parameters
Type | Name | Description |
---|---|---|
System. |
branchName | Name of the branch. |
Npm |
details | [out] The details. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |
TryGetPackageManifest(String, out Nullable<PackageCacheRecord>)
Attempts to get package manifest a PackageCacheRecord? from the given string.
Declaration
public bool TryGetPackageManifest(string directive, out PackageCacheRecord? record)
Parameters
Type | Name | Description |
---|---|---|
System. |
directive | The directive. |
System. |
record | [out] The record. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |
TryGetPackageManifest(String, String, out Nullable<PackageCacheRecord>)
Attempts to get package manifest a PackageCacheRecord? from the given string.
Declaration
public bool TryGetPackageManifest(string packageName, string version, out PackageCacheRecord? record)
Parameters
Type | Name | Description |
---|---|---|
System. |
packageName | Name of the package. |
System. |
version | The version. |
System. |
record | [out] The record. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |
TryGetRegistryManifests(String, out IEnumerable<RegistryPackageManifest>)
Attempts to get package manifests an IEnumerable<RegistryPackageManifest> from the given string.
Declaration
public bool TryGetRegistryManifests(string packageName, out IEnumerable<RegistryPackageManifest> manifests)
Parameters
Type | Name | Description |
---|---|---|
System. |
packageName | Name of the package. |
IEnumerable<Registry |
manifests | [out] The manifests. |
Returns
Type | Description |
---|---|
System. |
True if it succeeds, false if it fails. |
Events
| Improve this Doc View SourceOnChanged
Occurs when On Changed.
Declaration
public event EventHandler<EventArgs>? OnChanged
Event Type
Type | Description |
---|---|
System. |