ConventionContext Class

Summary

Base convention context that allos for stashing items in index keys Implements the IConventionContext
Assembly
Rocket.Surgery.Conventions.dll
Namespace
Rocket.Surgery.Conventions
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IConventionContext"] click Interface0 "/api/Rocket.Surgery.Conventions/IConventionContext" Type["ConventionContext"] class Type type-node

Syntax

public abstract class ConventionContext : IConventionContext

Attributes

Type Description
NullableContextAttribute
NullableAttribute
DefaultMemberAttribute

Constructors

Name Summary
ConventionContext(ILogger, IDictionary<object, object>) Creates a base context

Properties

Name Value Summary
Logger ILogger
A logger that is configured to work with each convention item
Properties IDictionary<object, object>
A central location for sharing state between components during the convention building process.
this[object] object
A central location for sharing state between components during the convention building process.

Extension Methods

See Also