mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-16 01:41:14 +08:00
18 lines
359 B
C#
18 lines
359 B
C#
namespace AntBlazor
|
|
{
|
|
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;
|
|
}
|
|
}
|
|
} |