C# Класс ThirdLicense.NuGetProtocolInspector

Represents a NuGet package inspector by providing with its metadata.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
AddRepositoryAsync ( PackageSource source ) : Task
InpsectFromRepoAsync ( PackageIdentity packageId, FindPackageByIdResource repo ) : Task
InspectPackageAsync ( PackageIdentity packageId ) : Task

Описание методов

AddDefaultEndpointsAsync() публичный Метод

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
Результат Task

AddEndpointAsync() публичный Метод

Adds an additional NuGet endpoint.
public AddEndpointAsync ( string endpoint ) : Task
endpoint string The NuGet endpoint.
Результат Task

Dispose() публичный Метод

Releases the resources of the object.
public Dispose ( ) : void
Результат void

InspectAsync() публичный Метод

Inspects a NuGet package to provide with its metadata.
public InspectAsync ( PackageIdentity packageId ) : Task
packageId PackageIdentity The package identifier to inspect.
Результат Task

NuGetProtocolInspector() публичный Метод

Initializes a new instance of the NuGetProtocolInspector class.
public NuGetProtocolInspector ( ) : System
Результат System