C# Class ThirdLicense.NuGetProtocolInspector

Represents a NuGet package inspector by providing with its metadata.
Inheritance: IDisposable
Afficher le fichier Open project: pleonex/ThirdLicense Class Usage Examples

Méthodes publiques

Méthode Description
AddDefaultEndpointsAsync ( ) : Task

Adds all the NuGet enabled endpoints configured in the system.

This methods reads the system configuration as well as the NuGet configuration files from the current working directory.

AddEndpointAsync ( string endpoint ) : Task

Adds an additional NuGet endpoint.

Dispose ( ) : void

Releases the resources of the object.

InspectAsync ( PackageIdentity packageId ) : Task

Inspects a NuGet package to provide with its metadata.

NuGetProtocolInspector ( ) : System

Initializes a new instance of the NuGetProtocolInspector class.

Private Methods

Méthode Description
AddRepositoryAsync ( PackageSource source ) : Task
InpsectFromRepoAsync ( PackageIdentity packageId, FindPackageByIdResource repo ) : Task
InspectPackageAsync ( PackageIdentity packageId ) : Task

Method Details

AddDefaultEndpointsAsync() public méthode

Adds all the NuGet enabled endpoints configured in the system.
This methods reads the system configuration as well as the NuGet configuration files from the current working directory.
public AddDefaultEndpointsAsync ( ) : Task
Résultat Task

AddEndpointAsync() public méthode

Adds an additional NuGet endpoint.
public AddEndpointAsync ( string endpoint ) : Task
endpoint string The NuGet endpoint.
Résultat Task

Dispose() public méthode

Releases the resources of the object.
public Dispose ( ) : void
Résultat void

InspectAsync() public méthode

Inspects a NuGet package to provide with its metadata.
public InspectAsync ( PackageIdentity packageId ) : Task
packageId PackageIdentity The package identifier to inspect.
Résultat Task

NuGetProtocolInspector() public méthode

Initializes a new instance of the NuGetProtocolInspector class.
public NuGetProtocolInspector ( ) : System
Résultat System