示例#1
0
        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));
        }
示例#2
0
文件: State.cs 项目: Coki32/BNFParser
 public override int GetHashCode() =>
 Production.GetHashCode() + DotPosition.GetHashCode() * 17 + InputPosition.GetHashCode() * 31;
示例#3
0
 public DotPositionAttribute(DotPosition position = default)
 {
     Position = position;
 }