FactoryPattern adaptions real world
adapt a pattern and build a reald world ex into it
https://github.com/flowxcode/dotnet-design-patterns-samples#factory-method
https://github.com/flowxcode/dotnet-design-patterns-samples/tree/master/Generating/FactoryMethod
- build pattern
- introduce config
- locate point from where to read config in current project
- read config early and compare in diagrams
the factory pattern:
TestFixtureContextBase.cs
DeviceMapper -> gets a new DeviceFactory creates Devices , Devices inherit from Device class.
Recent Comments