Compono.CompositionMemberRuleBuilder TParent,TMember .WithCollectionSize(int)
Compono¶
Compono.CompositionMemberRuleBuilder<TParent,TMember>¶
CompositionMemberRuleBuilder\<TParent,TMember>.WithCollectionSize(int) Method¶
Overrides the default collection size for this member only, following the same WithCollectionSize(int) precedence: this override wins over the global default and the built-in size of 3.
Parameters¶
size System.Int32
The collection size to build for this member.
Returns¶
Exceptions¶
System.ArgumentOutOfRangeException
size is negative.