CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
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.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: CodeFactory.Document
    Assembly: CodeFactory.dll
    Syntax
    public class DocumentLocation : IDocumentLocation

    Constructors

    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

    CharacterPosition

    The character position within the line.

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

    LineNumber

    The line number within the file.

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

    Methods

    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.