Summary
Base convention extensions
- Assembly
- Rocket
.Surgery .Conventions .Abstractions .dll - Namespace
- Rocket
.Surgery .Conventions - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ConventionContextExtensions"]
class Type type-node
Syntax
public static class ConventionContextExtensions
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Methods
| Name | Value | Summary |
|---|---|---|
| Get |
T |
Get a value by key from the context
static
|
| Get |
T |
Get a value by type from the context
static
|
| GetOrAdd |
T |
Get a value by key from the context
static
|
| GetOrAdd |
T |
Get a value by key from the context
static
|
| IsUnitTestHost |
bool |
Check if this is a test host (to allow conventions to behave differently during unit tests)
static
|
| Set |
void |
Get a value by type from the context
static
|
| Set |
void |
Get a value by type from the context
static
|
