Class IEditorItemExtensions
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
IEditorItem 扩展方法
public static class IEditorItemExtensions
- Inheritance
-
IEditorItemExtensions
- Inherited Members
Methods
CanWrite(IEditorItem, Type)
判断模型是否可写
public static bool CanWrite(this IEditorItem item, Type modelType)
Parameters
item
IEditorItemmodelType
Type
Returns
CanWrite(IEditorItem, Type, ItemChangedType, bool)
判断当前 IEditorItem 示例是否可以编辑
public static bool CanWrite(this IEditorItem item, Type modelType, ItemChangedType changedType, bool search = false)
Parameters
item
IEditorItemmodelType
TypechangedType
ItemChangedTypesearch
bool
Returns
IsEditable(IEditorItem, ItemChangedType, bool)
判断当前 IEditorItem 实例是否可以编辑
public static bool IsEditable(this IEditorItem item, ItemChangedType changedType, bool search = false)
Parameters
item
IEditorItemchangedType
ItemChangedTypesearch
bool
Returns
IsVisible(IEditorItem, ItemChangedType, bool)
判断当前 IEditorItem 实例是否显示
public static bool IsVisible(this IEditorItem item, ItemChangedType changedType, bool search = false)
Parameters
item
IEditorItemchangedType
ItemChangedTypesearch
bool