Skip to content

Compono.Composer.CreateRow(System.Type)

Compono

Compono.Composer

Composer.CreateRow(Type) Method

Creates a new CompositionRow - one composition scope for several sibling top-level parameter requests (e.g. one xUnit theory row's own method parameters), sharing one seed, one shared-value scope, and one pre-rooted path. See docs/adr/0021-row-composition-entry-point-for-test-framework-integrations.md.

public Compono.CompositionRow CreateRow(System.Type declaringType);

Parameters

declaringType System.Type

The type whose method declares the parameters this row composes (e.g. a test class) - the row's diagnostic root, reported as RootType on failure.

Returns

CompositionRow

Exceptions

System.ArgumentNullException
declaringType is null.