Inheritance
WidgetProvider
public class WidgetProvider : SingleDecoratorProvider<IGraphItem, IWidget, WidgetAttribute>
Constructors
Declaration
public WidgetProvider(ICanvas canvas)
Parameters
Type |
Name |
Description |
ICanvas |
canvas |
|
Properties
Declaration
protected override bool cache { get; }
Property Value
Overrides
Unity.VisualScripting.SingleDecoratorProvider<Unity.VisualScripting.IGraphItem, Unity.VisualScripting.IWidget, Unity.VisualScripting.WidgetAttribute>.cache
Declaration
public ICanvas canvas { get; }
Property Value
Methods
Declaration
protected override IWidget CreateDecorator(Type widgetType, IGraphItem item)
Parameters
Returns
Overrides
Unity.VisualScripting.SingleDecoratorProvider<Unity.VisualScripting.IGraphItem, Unity.VisualScripting.IWidget, Unity.VisualScripting.WidgetAttribute>.CreateDecorator(System.Type, Unity.VisualScripting.IGraphItem)
Declaration
public override bool IsValid(IGraphItem item)
Parameters
Returns
Overrides
Unity.VisualScripting.SingleDecoratorProvider<Unity.VisualScripting.IGraphItem, Unity.VisualScripting.IWidget, Unity.VisualScripting.WidgetAttribute>.IsValid(Unity.VisualScripting.IGraphItem)
Extension Methods