Show / Hide Table of Contents

Interface ITemplateObjectVisitorContext<TContext>

This interface defines methods for altering the context as the object graph is traversed.
It is up to the implementation to choose if that changes a state in the context or if it returns a new context.

Namespace: Firefly.CloudFormationParser.TemplateObjects.Traversal
Assembly: Firefly.CloudFormationParser.dll
Syntax
public interface ITemplateObjectVisitorContext<out TContext>
Type Parameters
Name Description
TContext

The actual type of the context itself, this is to guide in using the right context type at all times.

Methods

| Improve this Doc View Source

Next(Int32)

Gets the next context for an item in a list.

Declaration
TContext Next(int index)
Parameters
Type Name Description
Int32 index

Index in current list

Returns
Type Description
TContext

Current or new context.

| Improve this Doc View Source

Next(String)

Gets the next context for an entry in a dictionary

Declaration
TContext Next(string name)
Parameters
Type Name Description
String name

Name of property.

Returns
Type Description
TContext

Current or new context.

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