Table of Contents

Class PatternRegistry

Namespace
TypedRest.CodeGeneration.Patterns
Assembly
TypedRest.CodeGeneration.dll

An ordered list of all known IPatterns.

public class PatternRegistry : IEnumerable<IPattern>, IEnumerable
Inheritance
object
PatternRegistry
Implements

Properties

Default

Pattern registry with the built-in default IPatterns.

public static PatternRegistry Default { get; }

Property Value

PatternRegistry

Methods

Add(IPattern)

Adds pattern to the top of the list of known patterns.

public PatternRegistry Add(IPattern pattern)

Parameters

pattern IPattern

Returns

PatternRegistry

GetEnumerator()

Returns an enumerator that iterates through the collection.

public IEnumerator<IPattern> GetEnumerator()

Returns

IEnumerator<IPattern>

An enumerator that can be used to iterate through the collection.