Implements a fake feature collection.
More...
|
IEnumerator< KeyValuePair< Type, object > > | GetEnumerator () |
TFeature | Get< TFeature > () |
void | Set< TFeature > (TFeature instance) |
void | SetFactory< TFeature > (Func< TFeature > func) |
| Sets a factory for the service.
|
void | SetFactory (Type type, Func< object > factory) |
| Sets a factory for the service.
|
|
bool | IsReadOnly [get] |
int | Revision [get, set] |
object | this[Type key] [get, set] |
Implements a fake feature collection.
◆ SetFactory()
void PeanutButter.TestUtils.AspNetCore.Fakes.FakeFeatureCollection.SetFactory |
( |
Type | type, |
|
|
Func< object > | factory ) |
Sets a factory for the service.
- Parameters
-
◆ SetFactory< TFeature >()
Sets a factory for the service.
- Parameters
-
- Template Parameters
-
- Exceptions
-
The documentation for this class was generated from the following file:
- source/TestUtils/PeanutButter.TestUtils.AspNetCore/Fakes/FakeFeatureCollection.cs