CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Class DocumentLine

    Data class that holds the document line information.

    Inheritance
    object
    DocumentLine
    Implements
    IDocumentLine
    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 DocumentLine : IDocumentLine

    Constructors

    DocumentLine(long, int, string)

    Constructor that creates an instance of the DocumentLine

    Declaration
    protected DocumentLine(long number, int length, string content)
    Parameters
    Type Name Description
    long number

    The line number within the document.

    int length

    The number of characters that are in the line.

    string content

    The content of the line.

    Properties

    Content

    The content of the line.

    Declaration
    public string Content { get; }
    Property Value
    Type Description
    string

    Length

    The number of characters that are in the line.

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

    Number

    The line number within the document.

    Declaration
    public long Number { get; }
    Property Value
    Type Description
    long

    Methods

    Init(long, int, string)

    Creates an immutable instance of the DocumentLine

    Declaration
    public static DocumentLine Init(long number, int length, string content)
    Parameters
    Type Name Description
    long number

    The line number within the document.

    int length

    The number of characters that are in the line.

    string content

    The content of the line.

    Returns
    Type Description
    DocumentLine

    Implements

    IDocumentLine
    © CodeFactory, LLC. All rights reserved.