1234567891011121314151617181920212223242526272829 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- namespace InABox.Integration.Logikal
- {
- public class LogikalElevationDetailResponse<TElevation,TGroup, TFinish,TProfile,TGasket,TComponent,TGlass,TLabour> : LogikalResponse
- where TElevation : ILogikalElevationDetail<TGroup, TFinish,TProfile,TGasket,TComponent,TGlass,TLabour>
- where TGroup : ILogikalProductGroup
- where TFinish : ILogikalFinish
- where TProfile : ILogikalProfile
- where TGasket : ILogikalGasket
- where TComponent : ILogikalComponent
- where TGlass : ILogikalGlass
- where TLabour : ILogikalLabour
- {
- public override LogikalMethod Method() => LogikalMethod.ElevationDetail;
- public IEnumerable<TElevation> Elevations { get; set; } = new TElevation[] { };
- public override string ToString()
- {
- return string.Join("; ",Elevations.Select(x=>x.Description));
- }
- }
- }
|