DovetailContextBuilder Methods
ClassMethods11 members
Builder that can be used to create a context.
AppendJoint(IEnumerable<IDovetailJointMetadata>) Section titled AppendJoint(IEnumerable<IDovetailJointMetadata>)Dovetail Adds a set of conventions to the scanner
public sealed class DovetailContextBuilder{ public DovetailContextBuilder AppendJoint( params IEnumerable<IDovetailJointMetadata> conventions) { // ... }}Parameters
conventionsIReturns
DovetailContextBuilder IDovetailScanner.AppendJoint(IEnumerable<IDovetailJoint>) Section titled AppendJoint(IEnumerable<IDovetailJoint>)Dovetail Adds a set of conventions to the scanner
public sealed class DovetailContextBuilder{ public DovetailContextBuilder AppendJoint( params IEnumerable<IDovetailJoint> conventions) { // ... }}Parameters
conventionsIReturns
DovetailContextBuilder IDovetailScanner. Adds a set of conventions to the scanner
public sealed class DovetailContextBuilder{ public DovetailContextBuilder AppendJoint<T>() { // ... }}Create(IEnumerable<IDovetailJointMetadata>, IDictionary<object, object>, DovetailHostType, IEnumerable<DovetailCategory>) Section titled Create(IEnumerable<IDovetailJointMetadata>, IDictionary<object, object>, DovetailHostType, IEnumerable<DovetailCategory>)staticDovetail Create a default context builder
public sealed class DovetailContextBuilder{ public static DovetailContextBuilder Create( IEnumerable<IDovetailJointMetadata> conventions, IDictionary<object, object> properties, DovetailHostType hostType, IEnumerable<DovetailCategory> categories) { // ... }}Parameters
conventionsIpropertiesIDictionary<object, object> The initial set of properties to populate the context with.hostType DovetailcategoriesICore joints, which are always loaded. An empty set loads the Application joints as well. Returns
Create(IEnumerable<IDovetailJointMetadata>, IDictionary<object, object>, IEnumerable<DovetailCategory>) Section titled Create(IEnumerable<IDovetailJointMetadata>, IDictionary<object, object>, IEnumerable<DovetailCategory>)staticDovetail Create a default context builder
public sealed class DovetailContextBuilder{ public static DovetailContextBuilder Create( IEnumerable<IDovetailJointMetadata> conventions, IDictionary<object, object> properties, IEnumerable<DovetailCategory> categories) { // ... }}Parameters
conventionsIpropertiesIDictionary<object, object> The initial set of properties to populate the context with.categoriesICore joints, which are always loaded. An empty set loads the Application joints as well. Returns
CreateAsync(CancellationToken) Section titled CreateAsync(CancellationToken)ValueTask<IDovetailContext> Create a new
IDovetailContext public sealed class DovetailContextBuilder{ public ValueTask<IDovetailContext> CreateAsync( CancellationToken cancellationToken = default(CancellationToken)) { // ... }}Parameters
cancellationToken CancellationToken optionalThe cancellation token used during setup.Returns
ValueTask<IDovetailContext> The newly created and set up IDovetailContext .ExceptJoint(IEnumerable<Assembly>) Section titled ExceptJoint(IEnumerable<Assembly>)Dovetail Adds an exception to the scanner to exclude a specific convention
public sealed class DovetailContextBuilder{ public DovetailContextBuilder ExceptJoint( params IEnumerable<Assembly> assemblies) { // ... }}Parameters
assembliesIEnumerable<Assembly> The additional types to exclude. Adds an exception to the scanner to exclude a specific convention
public sealed class DovetailContextBuilder{ public DovetailContextBuilder ExceptJoint( params IEnumerable<Type> types) { // ... }}Parameters
typesIEnumerable<Type> The additional types to exclude.PrependJoint(IEnumerable<IDovetailJointMetadata>) Section titled PrependJoint(IEnumerable<IDovetailJointMetadata>)Dovetail Adds a set of conventions to the scanner
public sealed class DovetailContextBuilder{ public DovetailContextBuilder PrependJoint( params IEnumerable<IDovetailJointMetadata> conventions) { // ... }}Parameters
conventionsIPrependJoint(IEnumerable<IDovetailJoint>) Section titled PrependJoint(IEnumerable<IDovetailJoint>)Dovetail Adds a set of conventions to the scanner
public sealed class DovetailContextBuilder{ public DovetailContextBuilder PrependJoint( params IEnumerable<IDovetailJoint> conventions) { // ... }}Parameters
conventionsI Adds a set of conventions to the scanner
public sealed class DovetailContextBuilder{ public DovetailContextBuilder PrependJoint<T>() { // ... }}