Table of Contents

Interface ISemanticContextFlagsBuilder<TContext, TFlags>

Namespace
RDCore.SDK.Semantics.Builders
Assembly
RDCore.SDK.dll

Builds a SemanticContext<TFlags> containing semantic flags but no diagnostics.

public interface ISemanticContextFlagsBuilder<TContext, TFlags> : ISemanticFlagsAccumulator<TFlags> where TContext : SemanticContext<TFlags>, new() where TFlags : struct, Enum

Type Parameters

TContext

The type of SemanticContext to build.

TFlags

The type of semantic flags being accumulated.

Inherited Members

Methods

AddOnError<TError>(TError)

Adds the specified error to the semantic context if it isn't null.

ISemanticContextFlagsBuilder<TContext, TFlags> AddOnError<TError>(TError error) where TError : VBErrorInfo

Parameters

error TError

Holds information about an error.

Returns

ISemanticContextFlagsBuilder<TContext, TFlags>

Type Parameters

TError

The specific type of VBErrorInfo encapsulating the error metadata.

Build()

Builds and returns an immutable SemanticContext from the current builder state.

TContext Build()

Returns

TContext