LogikalBOMResponse.cs 774 B

12345678910111213141516171819202122232425262728
  1. using System.Collections.Generic;
  2. namespace InABox.Integration.Logikal
  3. {
  4. public class LogikalBOMResponse<TBOM, TFinish, TProfile, TGasket, TComponent, TGlass, TLabour> : LogikalResponse
  5. where TBOM : ILogikalBOM<TFinish, TProfile, TGasket, TComponent, TGlass, TLabour>, new()
  6. where TFinish : ILogikalFinish
  7. where TProfile : ILogikalProfile
  8. where TGasket : ILogikalGasket
  9. where TComponent : ILogikalComponent
  10. where TGlass : ILogikalGlass
  11. where TLabour : ILogikalLabour
  12. {
  13. public override LogikalMethod Method() => LogikalMethod.BOM;
  14. public TBOM BOM { get; set; } = new TBOM();
  15. public override string ToString()
  16. {
  17. return BOM.ToString();
  18. }
  19. }
  20. }