public ToolFactory() { SimpleFactory <ISimpleTool> .Register <SimpleTool>(); SimpleFactory <IPointedTool> .Register <PointedTool>(); SimpleFactory <ITwoSectionTool> .Register <TwoSectionTool>(); SimpleFactory <ICountersinkTool> .Register <CountersinkTool>(); SimpleFactory <IDiskTool> .Register <DiskTool>(); SimpleFactory <IDiskOnConeTool> .Register <DiskOnConeTool>(); SimpleFactory <IAngularTransmission> .Register <AngularTransmission>(); }
T IToolFactory.Create <T>() => SimpleFactory <T> .Create();