Interface ISemanticContextBuilder<TContext, TFlags>
An interface that exposes the semantic context builder's ability to build an immutable semantic context.
public interface ISemanticContextBuilder<TContext, TFlags> : ISemanticContextAccumulator<TFlags>, ISemanticFlagsAccumulator<TFlags> where TContext : SemanticContext<TFlags>, new() where TFlags : struct, Enum
Type Parameters
TContextThe type of
SemanticContextto build.TFlagsA
[Flags]enumtype with bit-shifted members that can be composed to encode the semantic flags of the context.
- Inherited Members
Methods
Build()
Builds and returns an immutable SemanticContext from the current builder state.
TContext Build()
Returns
- TContext