Class RegisterBindingAttribute
This attribute is used to create a new binding type.
Namespace: Mechatronics.SystemGraph
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class RegisterBindingAttribute : Attribute, _Attribute
Constructors
RegisterBindingAttribute(Type, Boolean)
Initializes a binding type.
Declaration
public RegisterBindingAttribute(Type type, bool exposed = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Specific binding type. |
| Boolean | exposed | If the binding should be exposed by default. |
Fields
DeclaringType
Type which this attribute is attached to.
Declaration
public Type DeclaringType
Field Value
| Type | Description |
|---|---|
| Type |
DefaultExposed
By default should this binding be exposed in the inspector?
Declaration
public bool DefaultExposed
Field Value
| Type | Description |
|---|---|
| Boolean |