Interface InitializeContext
- Namespace
- MassTransit.Initializers
- Assembly
- MassTransit.Abstractions.dll
public interface InitializeContext : PipeContext
- Inherited Members
- Extension Methods
Properties
Depth
how deep this context is within the object graph
int Depth { get; }
Property Value
Parent
the parent initialize context, which is valid if the type is being initialized within another type
InitializeContext Parent { get; }
Property Value
Methods
CreateMessageContext<T>(T)
InitializeContext<T> CreateMessageContext<T>(T message) where T : class
Parameters
message
T
Returns
Type Parameters
T
TryGetParent<T>(out InitializeContext<T>)
Return the closest parent context for the specified type, if present
bool TryGetParent<T>(out InitializeContext<T> parentContext) where T : class
Parameters
parentContext
InitializeContext<T>
Returns
Type Parameters
T