Show / Hide Table of Contents

    Class MarkdownParser

    Inheritance
    Object
    MarkdownParser
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace:Microsoft.DocAsCode.MarkdownLite
    Assembly:Microsoft.DocAsCode.MarkdownLite.dll
    Syntax
    public class MarkdownParser : IMarkdownParser

    Constructors

    MarkdownParser(IMarkdownContext, Options, Dictionary<String, LinkObj>)

    Declaration
    public MarkdownParser(IMarkdownContext context, Options options, Dictionary<string, LinkObj> links)
    Parameters
    Type Name Description
    IMarkdownContext context
    Options options
    Dictionary<String, LinkObj> links

    Properties

    Context

    Declaration
    public IMarkdownContext Context { get; }
    Property Value
    Type Description
    IMarkdownContext
    Implements
    IMarkdownParser.Context

    Links

    Declaration
    public Dictionary<string, LinkObj> Links { get; }
    Property Value
    Type Description
    Dictionary<String, LinkObj>
    Implements
    IMarkdownParser.Links

    Options

    Declaration
    public Options Options { get; }
    Property Value
    Type Description
    Options
    Implements
    IMarkdownParser.Options

    Methods

    Preprocess(String)

    Declaration
    protected virtual string Preprocess(string src)
    Parameters
    Type Name Description
    String src
    Returns
    Type Description
    String

    SwitchContext(IMarkdownContext)

    Declaration
    public IMarkdownContext SwitchContext(IMarkdownContext context)
    Parameters
    Type Name Description
    IMarkdownContext context
    Returns
    Type Description
    IMarkdownContext
    Implements
    IMarkdownParser.SwitchContext(IMarkdownContext)

    Tokenize(SourceInfo)

    Declaration
    public ImmutableArray<IMarkdownToken> Tokenize(SourceInfo sourceInfo)
    Parameters
    Type Name Description
    SourceInfo sourceInfo
    Returns
    Type Description
    System.Collections.Immutable.ImmutableArray<IMarkdownToken>
    Implements
    IMarkdownParser.Tokenize(SourceInfo)

    Extension Methods

    MarkdownParserExtensions.SwitchContext(IMarkdownParser, String, Object)
    MarkdownParserExtensions.SwitchContext(IMarkdownParser, IReadOnlyDictionary<String, Object>)
    MarkdownParserExtensions.TokenizeInline(IMarkdownParser, SourceInfo)
    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX