LogikalBOMResponse.cs 834 B

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