public SocialDistancingRuleset Build() { var ruleset = new SocialDistancingRuleset { Name = Name, Index = Index, FixedGroupLayout = true, DisabledSeats = DisabledSeats }; return(ruleset); }
public SocialDistancingRuleset Build() { var ruleset = new SocialDistancingRuleset { Name = Name, Index = Index, NumberOfDisabledSeatsToTheSides = NumberOfDisabledSeatsToTheSides, DisableSeatsInFrontAndBehind = DisableSeatsInFrontAndBehind, DisableDiagonalSeatsInFrontAndBehind = DisableDiagonalSeatsInFrontAndBehind, NumberOfDisabledAisleSeats = NumberOfDisabledAisleSeats, MaxGroupSize = MaxGroupSize, MaxOccupancyAbsolute = MaxOccupancyAbsolute, MaxOccupancyPercentage = MaxOccupancyPercentage, OneGroupPerTable = OneGroupPerTable, FixedGroupLayout = false, DisabledSeats = DisabledSeats, EnabledSeats = EnabledSeats }; return(ruleset); }