private void SetClass() { SlickSliderClassMapper.Add("slick-slider slick-initialized") .If("slick-vertical", () => DotPosition.IsIn(CarouselDotPosition.Left, CarouselDotPosition.Right)) ; ClassMapper.Clear() .Add(PrefixCls) .If($"{PrefixCls}-vertical", () => DotPosition.IsIn(CarouselDotPosition.Left, CarouselDotPosition.Right)); }
public override int GetHashCode() => Production.GetHashCode() + DotPosition.GetHashCode() * 17 + InputPosition.GetHashCode() * 31;
public DotPositionAttribute(DotPosition position = default) { Position = position; }