Search Results for

    Show / Hide Table of Contents

    Class EndCodeSearchResult

    The result of a FindEndCode(ILineReader) operation

    Inheritance
    object
    EndCodeSearchResult
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: FluentMigrator.Runner.BatchParser
    Assembly: FluentMigrator.Runner.Core.dll
    Syntax
    public class EndCodeSearchResult

    Constructors

    EndCodeSearchResult(int)

    Initializes a new instance of the EndCodeSearchResult class.

    Declaration
    public EndCodeSearchResult(int index)
    Parameters
    Type Name Description
    int index

    The index into the ILineReader where the end code was found

    EndCodeSearchResult(int, IRangeSearcher)

    Initializes a new instance of the EndCodeSearchResult class.

    Declaration
    public EndCodeSearchResult(int index, IRangeSearcher nestedRangeSearcher)
    Parameters
    Type Name Description
    int index

    The index into the ILineReader where the nested start code was found

    IRangeSearcher nestedRangeSearcher

    The searcher to be used to find the end of the nested range

    Properties

    Index

    Gets the index into the previously tested ILineReader of the end code or nested start code

    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
    IRangeSearcher

    Operators

    implicit operator EndCodeSearchResult(int)

    Operator to convert an index of the end code into a EndCodeSearchResult

    Declaration
    public static implicit operator EndCodeSearchResult(int index)
    Parameters
    Type Name Description
    int index

    The index into the ILineReader of the end code

    Returns
    Type Description
    EndCodeSearchResult
    In this article
    Back to top
    Copyright © 2018 Fluent Migrator Project
    Generated by DocFX
    Creative Commons License
    FluentMigrator Documentation by FluentMigrator Project is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.