Removed Template
This commit is contained in:
@@ -13,7 +13,6 @@ public class PropertyConfig(PropertyInfo info, TableConfig table) {
|
||||
public PropertyInfo? DisplayedProperty { get; set; }
|
||||
public Func<object, string>? Formatter { get; set; }
|
||||
public Func<string, object>? Parser { get; set; }
|
||||
public Func<object>? Template { get; set; }
|
||||
public Func<object?, Task<IEnumerable<string>>>? Validator { get; set; }
|
||||
public bool Editable { get; set; } = true;
|
||||
public bool Creatable { get; set; } = true;
|
||||
@@ -61,11 +60,6 @@ public class PropertyConfig<TProp>(PropertyConfig config) {
|
||||
return this;
|
||||
}
|
||||
|
||||
public PropertyConfig<TProp> ValueTemplate(Func<TProp> template) {
|
||||
InnerConfig.Template = () => template.Invoke()!;
|
||||
return this;
|
||||
}
|
||||
|
||||
public PropertyConfig<TProp> Editable(bool editable) {
|
||||
InnerConfig.Editable = editable;
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user