mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
18 lines
359 B
C#
18 lines
359 B
C#
namespace AntDesign
|
|
{
|
|
public class ClassBuilderRuleClass<T> : ClassBuilderRule<T>
|
|
{
|
|
public string ClassName { get; set; }
|
|
|
|
|
|
public ClassBuilderRuleClass(string className)
|
|
{
|
|
ClassName = className;
|
|
}
|
|
|
|
public override string GetClass(T data)
|
|
{
|
|
return ClassName;
|
|
}
|
|
}
|
|
} |