Class DictionaryFiller
Contains methods for populating dictionaries with specimens.
Inheritance
System.Object
DictionaryFiller
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AutoFixture
Assembly: AutoFixture.dll
Syntax
public class DictionaryFiller : ISpecimenCommand
Methods
| Improve this Doc View SourceExecute(Object, ISpecimenContext)
Adds many items to a dictionary.
Declaration
public void Execute(object specimen, ISpecimenContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Object | specimen | The dictionary to which items should be added. |
ISpecimenContext | context | The context which can be used to resolve other specimens. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException |
|