Show / Hide Table of Contents

    Class MarkdownBlockContext

    Inheritance
    Object
    MarkdownBlockContext
    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 MarkdownBlockContext : IMarkdownContext

    Constructors

    MarkdownBlockContext(ImmutableList<IMarkdownRule>, IMarkdownContext)

    Declaration
    public MarkdownBlockContext(ImmutableList<IMarkdownRule> rules, IMarkdownContext inlineContext)
    Parameters
    Type Name Description
    System.Collections.Immutable.ImmutableList<IMarkdownRule> rules
    IMarkdownContext inlineContext

    MarkdownBlockContext(ImmutableList<IMarkdownRule>, IMarkdownContext, ImmutableDictionary<String, Object>)

    Declaration
    protected MarkdownBlockContext(ImmutableList<IMarkdownRule> rules, IMarkdownContext inlineContext, ImmutableDictionary<string, object> variables)
    Parameters
    Type Name Description
    System.Collections.Immutable.ImmutableList<IMarkdownRule> rules
    IMarkdownContext inlineContext
    System.Collections.Immutable.ImmutableDictionary<String, Object> variables

    Fields

    IsBlockQuote

    Declaration
    public const string IsBlockQuote = "IsBlockQuote"
    Field Value
    Type Description
    String

    IsTop

    Declaration
    public const string IsTop = "IsTop"
    Field Value
    Type Description
    String

    Properties

    Rules

    Declaration
    public ImmutableList<IMarkdownRule> Rules { get; }
    Property Value
    Type Description
    System.Collections.Immutable.ImmutableList<IMarkdownRule>
    Implements
    IMarkdownContext.Rules

    Variables

    Declaration
    public ImmutableDictionary<string, object> Variables { get; }
    Property Value
    Type Description
    System.Collections.Immutable.ImmutableDictionary<String, Object>
    Implements
    IMarkdownContext.Variables

    Methods

    CreateContext(ImmutableDictionary<String, Object>)

    Declaration
    public virtual IMarkdownContext CreateContext(ImmutableDictionary<string, object> variables)
    Parameters
    Type Name Description
    System.Collections.Immutable.ImmutableDictionary<String, Object> variables
    Returns
    Type Description
    IMarkdownContext
    Implements
    IMarkdownContext.CreateContext(ImmutableDictionary<String, Object>)

    GetInlineContext()

    Declaration
    public IMarkdownContext GetInlineContext()
    Returns
    Type Description
    IMarkdownContext

    SetRules(ImmutableList<IMarkdownRule>)

    Declaration
    public virtual IMarkdownContext SetRules(ImmutableList<IMarkdownRule> rules)
    Parameters
    Type Name Description
    System.Collections.Immutable.ImmutableList<IMarkdownRule> rules
    Returns
    Type Description
    IMarkdownContext

    Extension Methods

    DfmContextExtensions.GetFilePathStack(IMarkdownContext)
    DfmContextExtensions.SetFilePathStack(IMarkdownContext, ImmutableStack<String>)
    DfmContextExtensions.GetBaseFolder(IMarkdownContext)
    DfmContextExtensions.SetBaseFolder(IMarkdownContext, String)
    DfmContextExtensions.GetFallbackFolders(IMarkdownContext)
    DfmContextExtensions.SetFallbackFolders(IMarkdownContext, IReadOnlyList<String>)
    DfmContextExtensions.SetDependency(IMarkdownContext, HashSet<String>)
    DfmContextExtensions.ReportDependency(IMarkdownContext, String)
    DfmContextExtensions.ReportDependency(IMarkdownContext, IEnumerable<String>)
    DfmContextExtensions.GetIsInclude(IMarkdownContext)
    DfmContextExtensions.SetIsInclude(IMarkdownContext)
    JsonUtility.ToJsonString(Object, Formatting, JsonSerializer)
    Back to top Copyright © 2015-2017 Microsoft
    Generated by DocFX