Search Results for

    Show / Hide Table of Contents

    Struct SourceInfo

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.DocAsCode.MarkdownLite
    Assembly: Microsoft.DocAsCode.MarkdownLite.dll
    Syntax
    public struct SourceInfo

    Properties

    | Improve this Doc View Source

    File

    Declaration
    public string File { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    LineNumber

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

    Markdown

    Declaration
    public string Markdown { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    ValidLineCount

    Declaration
    public int ValidLineCount { get; }
    Property Value
    Type Description
    Int32

    Methods

    | Improve this Doc View Source

    Copy(String, Int32)

    Declaration
    public SourceInfo Copy(string markdown, int lineOffset = 0)
    Parameters
    Type Name Description
    String markdown
    Int32 lineOffset
    Returns
    Type Description
    SourceInfo
    | Improve this Doc View Source

    Create(String, String)

    Declaration
    public static SourceInfo Create(string markdown, string file)
    Parameters
    Type Name Description
    String markdown
    String file
    Returns
    Type Description
    SourceInfo
    | Improve this Doc View Source

    Create(String, String, Int32)

    Declaration
    public static SourceInfo Create(string markdown, string file, int lineNumber)
    Parameters
    Type Name Description
    String markdown
    String file
    Int32 lineNumber
    Returns
    Type Description
    SourceInfo
    | Improve this Doc View Source

    Create(String, String, Int32, Int32)

    Declaration
    public static SourceInfo Create(string markdown, string file, int lineNumber, int lineCount)
    Parameters
    Type Name Description
    String markdown
    String file
    Int32 lineNumber
    Int32 lineCount
    Returns
    Type Description
    SourceInfo

    Extension Methods

    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    • Improve this Doc
    • View Source
    • 0 Comments
    In This Article
    Back to top Copyright © Microsoft.
    Generated by DocFX