Class EndCodeSearchResult
The result of a Find
Inherited Members
Namespace: FluentMigrator .Runner.BatchParser
Assembly: FluentMigrator.Runner.Core.dll
Syntax
public class EndCodeSearchResult
Constructors
EndCodeSearchResult(int)
Initializes a new instance of the End
Declaration
public EndCodeSearchResult(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index into the ILine |
EndCodeSearchResult(int, IRangeSearcher)
Initializes a new instance of the End
Declaration
public EndCodeSearchResult(int index, IRangeSearcher nestedRangeSearcher)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index into the ILine |
IRange |
nestedRangeSearcher | The searcher to be used to find the end of the nested range |
Properties
Index
Gets the index into the previously tested ILine
Declaration
public int Index { get; }
Property Value
Type | Description |
---|---|
int |
IsNestedStart
Gets a value indicating whether this is a nested range
Declaration
public bool IsNestedStart { get; }
Property Value
Type | Description |
---|---|
bool |
NestedRangeSearcher
Gets the searcher to be used to find the end of the nested range
Declaration
[CanBeNull]
public IRangeSearcher NestedRangeSearcher { get; }
Property Value
Type | Description |
---|---|
IRange |
Operators
implicit operator EndCodeSearchResult(int)
Operator to convert an index of the end code into a End
Declaration
public static implicit operator EndCodeSearchResult(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index into the ILine |
Returns
Type | Description |
---|---|
End |