C# 클래스 NuGet.Indexing.RAMDirectoryWrapper

This class wraps the RAMDirectory so we can correct the return of FileModified function
상속: Lucene.Net.Store.RAMDirectory
파일 보기 프로젝트 열기: NuGet/NuGet.Services.Metadata 1 사용 예제들

공개 메소드들

메소드 설명
FileModified ( string name ) : long

Returns the time (as a long) the named file was last modified in a Windows FileTime in UTC

The implementation here is to keep in line with the implementation in AzureDirectory for use in the AzureDirectorySynchronizer. See https://github.com/azure-contrib/AzureDirectory/blob/master/AzureDirectory/AzureDirectory.cs#L147 for AzureDirectory implementation

RAMDirectoryWrapper ( ) : Lucene.Net.Store
RAMDirectoryWrapper ( Lucene.Net.Store.Directory seedDirectory ) : Lucene.Net.Store

메소드 상세

FileModified() 공개 메소드

Returns the time (as a long) the named file was last modified in a Windows FileTime in UTC
The implementation here is to keep in line with the implementation in AzureDirectory for use in the AzureDirectorySynchronizer. See https://github.com/azure-contrib/AzureDirectory/blob/master/AzureDirectory/AzureDirectory.cs#L147 for AzureDirectory implementation
public FileModified ( string name ) : long
name string File Name
리턴 long

RAMDirectoryWrapper() 공개 메소드

public RAMDirectoryWrapper ( ) : Lucene.Net.Store
리턴 Lucene.Net.Store

RAMDirectoryWrapper() 공개 메소드

public RAMDirectoryWrapper ( Lucene.Net.Store.Directory seedDirectory ) : Lucene.Net.Store
seedDirectory Lucene.Net.Store.Directory
리턴 Lucene.Net.Store