Compono.GeneratedTestDoubleRegistry.TryCreate(System.Type,object)
Compono¶
Compono.GeneratedTestDoubleRegistry¶
GeneratedTestDoubleRegistry.TryCreate(Type, object) Method¶
Looks up and invokes the factory registered for requestedType, or false if none has been registered - either because requestedType was never discovered as a generated-test-double leaf, or because the consuming assembly's module initializers haven't run yet.
Parameters¶
requestedType System.Type
value System.Object