Show / Hide Table of Contents

Class MappingSectionExtensions

Adds accept methods to MappingSection to visit the template's mappings

Inheritance
Object
MappingSectionExtensions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Firefly.CloudFormationParser.TemplateObjects.Traversal.AcceptExtensions
Assembly: Firefly.CloudFormationParser.dll
Syntax
public static class MappingSectionExtensions

Methods

| Improve this Doc View Source

Accept<TVisitor>(MappingSection, TVisitor)

Performs dispatch for the current object using the visitor's DoAccept method.

Declaration
public static MappingSection Accept<TVisitor>(this MappingSection self, TVisitor visitor)
    where TVisitor : ITemplateObjectVisitor<NullTemplateObjectVisitorContext>
Parameters
Type Name Description
MappingSection self

The object accepting the visitor.

TVisitor visitor

The visitor.

Returns
Type Description
MappingSection

This dictionary

Type Parameters
Name Description
TVisitor

The type of the visitor.

| Improve this Doc View Source

Accept<TContext>(MappingSection, ITemplateObjectVisitor<TContext>, TContext)

Performs dispatch for the current object using the visitor's DoAccept method.

Declaration
public static MappingSection Accept<TContext>(this MappingSection self, ITemplateObjectVisitor<TContext> visitor, TContext context)
    where TContext : ITemplateObjectVisitorContext<TContext>
Parameters
Type Name Description
MappingSection self

The object accepting the visitor.

ITemplateObjectVisitor<TContext> visitor

The visitor.

TContext context

The context.

Returns
Type Description
MappingSection

This JToken

Type Parameters
Name Description
TContext

The type of the context.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX