C# 클래스 NuGet.VisualStudio.VsPersistencePackageSettingsManager

상속: SettingsManagerBase, IPersistencePackageSettingsManager
파일 보기 프로젝트 열기: xero-github/Nuget

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
ConvertFromDateTimeToString ( System.DateTime dateTime ) : string
ConvertFromStringToDateTime ( string value ) : System.DateTime

메소드 상세

ClearPackageMetadata() 공개 메소드

public ClearPackageMetadata ( ) : void
리턴 void

LoadPackageMetadata() 공개 메소드

public LoadPackageMetadata ( int maximumCount ) : IEnumerable
maximumCount int
리턴 IEnumerable

SavePackageMetadata() 공개 메소드

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
리턴 void

VsPersistencePackageSettingsManager() 공개 메소드

public VsPersistencePackageSettingsManager ( ) : System
리턴 System

VsPersistencePackageSettingsManager() 공개 메소드

public VsPersistencePackageSettingsManager ( IServiceProvider serviceProvider ) : System
serviceProvider IServiceProvider
리턴 System