C# Class ExampleMenu.Examples.Recording.FileRecordStore

Stores records to files
Inheritance: IRecordStore
ファイルを表示 Open project: nerai/CMenu Class Usage Examples

Public Methods

Method Description
AddRecord ( string name, IEnumerable lines ) : void
FileRecordStore ( ) : System
GetRecord ( string name ) : IEnumerable

Retrieves the specified record. The record chosen is the first one to match, in order, any of the following: a) an exact match b) a record name starting with the specified name c) a record name containing the specified name d) a record name containing the specified name nonconsecutively

GetRecordNames ( ) : IEnumerable

Method Details

AddRecord() public method

public AddRecord ( string name, IEnumerable lines ) : void
name string
lines IEnumerable
return void

FileRecordStore() public method

public FileRecordStore ( ) : System
return System

GetRecord() public method

Retrieves the specified record. The record chosen is the first one to match, in order, any of the following: a) an exact match b) a record name starting with the specified name c) a record name containing the specified name d) a record name containing the specified name nonconsecutively
public GetRecord ( string name ) : IEnumerable
name string
return IEnumerable

GetRecordNames() public method

public GetRecordNames ( ) : IEnumerable
return IEnumerable