Table of Contents

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 IEditorItem
modelType Type

Returns

bool

CanWrite(IEditorItem, Type, ItemChangedType, bool)

判断当前 IEditorItem 示例是否可以编辑

public static bool CanWrite(this IEditorItem item, Type modelType, ItemChangedType changedType, bool search = false)

Parameters

item IEditorItem
modelType Type
changedType ItemChangedType
search bool

Returns

bool

IsEditable(IEditorItem, ItemChangedType, bool)

判断当前 IEditorItem 实例是否可以编辑

public static bool IsEditable(this IEditorItem item, ItemChangedType changedType, bool search = false)

Parameters

item IEditorItem
changedType ItemChangedType
search bool

Returns

bool

IsVisible(IEditorItem, ItemChangedType, bool)

判断当前 IEditorItem 实例是否显示

public static bool IsVisible(this IEditorItem item, ItemChangedType changedType, bool search = false)

Parameters

item IEditorItem
changedType ItemChangedType
search bool

Returns

bool