private void SetClass() { ClassMapper.Add(PrefixCls) .Get(() => $"{PrefixCls}-{Status}") .If($"{PrefixCls}-rtl", () => RTL); IconClassMapper.Get(() => $"{PrefixCls}-{(IsImage ? "image" : "icon")}"); }
private void SetClass() { ClassMapper.Add(PrefixCls) .Add($"{PrefixCls}-{Status}"); IconClassMapper.Add($"{PrefixCls}-icon") .If($"{PrefixCls}-image", () => IsImage); }
private void SetClass() { ClassMapper.Get(() => $"{PrefixCls}-{Status}"); IconClassMapper.Get(() => $"{PrefixCls}-{(IsImage ? "image" : "icon")}"); }