Compono.CompositionRow.ResolveCollectionSize()
Compono¶
Compono.CompositionRow¶
CompositionRow.ResolveCollectionSize() Method¶
Resolves the collection size a generated collection plan should build - the size a member-scoped WithCollectionSize override configures for the collection member currently being resolved, falling back to the global default, then the built-in size of 3. Parameterless: the context already knows the current request's declaring type/member name (the same identity .For<T>().Member(...) rule matching uses), since a collection plan's Compose(ICompositionContext) has no descriptor to pass. See docs/adr/0020-composition-configuration-rules.md.
Implements ResolveCollectionSize()