C# Class NuGet.VisualStudio.VsPersistencePackageSettingsManager

Inheritance: SettingsManagerBase, IPersistencePackageSettingsManager
Afficher le fichier Open project: xero-github/Nuget

Méthodes publiques

Méthode Description
ClearPackageMetadata ( ) : void
LoadPackageMetadata ( int maximumCount ) : IEnumerable
SavePackageMetadata ( IEnumerable packageMetadata ) : void

Save the specified package metadata to VS settings store, which is the registry.

Here is how we save the data in the registry: NuGet Mru Package0 -------> | Id: Moq Package1 | Version: 1.0.0.0 Package2 | LastUsed: (date time in a long number) Package3

VsPersistencePackageSettingsManager ( ) : System
VsPersistencePackageSettingsManager ( IServiceProvider serviceProvider ) : System

Private Methods

Méthode Description
ConvertFromDateTimeToString ( System.DateTime dateTime ) : string
ConvertFromStringToDateTime ( string value ) : System.DateTime

Method Details

ClearPackageMetadata() public méthode

public ClearPackageMetadata ( ) : void
Résultat void

LoadPackageMetadata() public méthode

public LoadPackageMetadata ( int maximumCount ) : IEnumerable
maximumCount int
Résultat IEnumerable

SavePackageMetadata() public méthode

Save the specified package metadata to VS settings store, which is the registry.
Here is how we save the data in the registry: NuGet Mru Package0 -------> | Id: Moq Package1 | Version: 1.0.0.0 Package2 | LastUsed: (date time in a long number) Package3
public SavePackageMetadata ( IEnumerable packageMetadata ) : void
packageMetadata IEnumerable
Résultat void

VsPersistencePackageSettingsManager() public méthode

public VsPersistencePackageSettingsManager ( ) : System
Résultat System

VsPersistencePackageSettingsManager() public méthode

public VsPersistencePackageSettingsManager ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
Résultat System