C# Class Core.Lucene.FileSystemLearningRepository

Inheritance: ILearningRepository
显示文件 Open project: brunomlopes/ILoveLucene

Public Methods

Method Description
FileSystemLearningRepository ( DirectoryInfo input ) : System.Collections.Generic
LearnFor ( string learning, string sha1 ) : IEnumerable
LearningsFor ( string sha1 ) : IEnumerable
SaveAll ( ) : void

Private Methods

Method Description
SubPathFor ( string sha1 ) : string
WriteLearning ( string sha1, IList learningValue ) : void

Method Details

FileSystemLearningRepository() public method

public FileSystemLearningRepository ( DirectoryInfo input ) : System.Collections.Generic
input System.IO.DirectoryInfo
return System.Collections.Generic

LearnFor() public method

public LearnFor ( string learning, string sha1 ) : IEnumerable
learning string
sha1 string
return IEnumerable

LearningsFor() public method

public LearningsFor ( string sha1 ) : IEnumerable
sha1 string
return IEnumerable

SaveAll() public method

public SaveAll ( ) : void
return void