Show / Hide Table of Contents

    Struct SourceInfo

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

    Properties

    File

    Declaration
    public string File { get; }
    Property Value
    Type Description
    String

    LineNumber

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

    Markdown

    Declaration
    public string Markdown { get; }
    Property Value
    Type Description
    String

    ValidLineCount

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

    Methods

    Copy(String, Int32)

    Declaration
    public SourceInfo Copy(string markdown, int lineOffset = 0)
    Parameters
    Type Name Description
    String markdown
    Int32 lineOffset
    Returns
    Type Description
    SourceInfo

    Create(String, String)

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

    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

    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)
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX