ShowInPanelAttribute Class

Summary

[Editor-Only] Indicates which Weaver.Editor.Window.WeaverWindowPanel something should be shown in.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Window
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type["ShowInPanelAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public sealed class ShowInPanelAttribute : Attribute

Attributes

Type Description
AttributeUsageAttribute

Constructors

Name Summary
ShowInPanelAttribute(Type) Creates a new Weaver.Editor.Window.ShowInPanelAttribute with the specified Weaver.Editor.Window.ShowInPanelAttribute.PanelType.

Fields

Name Constant Value Summary
PanelType
The type of the Weaver.Editor.Window.WeaverWindowPanel to show the target in.

Properties

Name Value Summary
ShowInMain bool
Indicates whether the injector should be shown in its regular panel as well.

Methods

Name Value Summary
GetDefaultPanelType(InjectionAttribute) Type
Returns the default Weaver.Editor.Window.ShowInPanelAttribute.PanelType of the `injector`.
static
GetPanelType(InjectionAttribute, Type) Type
Returns the Weaver.Editor.Window.ShowInPanelAttribute.PanelType associated with the `injector`.
static