CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class DocumentLocation

    Document location data class, used to determine a point within a document. This is used for gathering and setting model information.

    Inheritance
    object
    DocumentLocation
    Implements
    IDocumentLocation
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: CodeFactory.Document
    Assembly: CodeFactory.dll
    Syntax
    public class DocumentLocation : IDocumentLocation

    Constructors

    | Improve this Doc View Source

    DocumentLocation(int, int)

    Initializes a new instance of a DocumentLocation data class.

    Declaration
    protected DocumentLocation(int lineNumber, int characterPosition)
    Parameters
    Type Name Description
    int lineNumber

    The line number within the file.

    int characterPosition

    The character position within the line.

    Properties

    | Improve this Doc View Source

    CharacterPosition

    Declaration
    public int CharacterPosition { get; }
    Property Value
    Type Description
    int
    | Improve this Doc View Source

    LineNumber

    Declaration
    public int LineNumber { get; }
    Property Value
    Type Description
    int

    Methods

    | Improve this Doc View Source

    Init(int, int)

    Returns an Immutable instance of data class that implements IDocumentLocation contract definition.

    Declaration
    public static DocumentLocation Init(int lineNumber, int characterPosition)
    Parameters
    Type Name Description
    int lineNumber

    The line number within the file.

    int characterPosition

    The character position within the line.

    Returns
    Type Description
    DocumentLocation

    Immutable instance of the document location.

    Implements

    IDocumentLocation
    © CodeFactory, LLC. All rights reserved.