Interface IRangeSearcher
Interface to search for content with a given start- and end code
Namespace: FluentMigrator.Runner.BatchParser
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public interface IRangeSearcher
Properties
EndCodeLength
Gets the length of the end code
Declaration
int EndCodeLength { get; }
Property Value
Type | Description |
---|---|
int |
IsComment
Is this range a comment?
Declaration
bool IsComment { get; }
Property Value
Type | Description |
---|---|
bool |
StartCodeLength
Gets the length of the start code
Declaration
int StartCodeLength { get; }
Property Value
Type | Description |
---|---|
int |
Methods
FindEndCode(ILineReader)
Search for an end code
Declaration
[CanBeNull]
EndCodeSearchResult FindEndCode(ILineReader reader)
Parameters
Type | Name | Description |
---|---|---|
ILineReader | reader | The reader where the end code is searched |
Returns
Type | Description |
---|---|
EndCodeSearchResult |
|
FindStartCode(ILineReader)
Gets the index into the reader
where the start code was found
Declaration
int FindStartCode(ILineReader reader)
Parameters
Type | Name | Description |
---|---|---|
ILineReader | reader | The reader where the start code is searched |
Returns
Type | Description |
---|---|
int |
|