Class DictionaryFiller
Namespace: AutoFixture
Assembly: AutoFixture.dll
Contains methods for populating dictionaries with specimens.
public class DictionaryFiller : ISpecimenCommandInheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
DictionaryFiller()
public DictionaryFiller()Methods
Execute(object, ISpecimenContext)
Adds many items to a dictionary.
public void Execute(object specimen, ISpecimenContext context)Parameters
specimen object
The dictionary to which items should be added.
context ISpecimenContext
The context which can be used to resolve other specimens.
Exceptions
specimen is not an instance of IDictionary%602.