Class BehaviorSubtree
Represents endpoint or service behavior tree node.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class BehaviorSubtree : Subtree, IEquatable<Subtree>
Constructors
BehaviorSubtree()
Initializes an empty instance.
Declaration
public BehaviorSubtree()
BehaviorSubtree(Behavior)
Initializes new instance from provided Behavior.
Declaration
public BehaviorSubtree(Behavior behavior)
Parameters
Type | Name | Description |
---|---|---|
Behavior | behavior | Behavior to be initialized from. |
BehaviorSubtree(Int32, String, BehaviorKind)
Initializes new instance with provided id, name, and kind.
Declaration
public BehaviorSubtree(int id, string name, BehaviorKind kind)
Parameters
Type | Name | Description |
---|---|---|
Int32 | id | Behavior's database identifier. |
String | name | Behavior's friendly name. |
BehaviorKind | kind | Behavior's kind. |
Properties
Kind
Gets or sets the behavior's kind: endpoint behavior or service behavior.
Declaration
public BehaviorKind Kind { get; set; }
Property Value
Type | Description |
---|---|
BehaviorKind |