Class BehaviorSubtree
Represents endpoint or service behavior tree node.
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Services
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
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(int, string, Guid, BehaviorKind)
Initializes new instance with provided id, name, and kind.
Declaration
public BehaviorSubtree(int id, string name, Guid key, BehaviorKind kind)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | Behavior's database identifier. |
| string | name | Behavior's friendly name. |
| Guid | key | Behavior's unique key. |
| BehaviorKind | kind | Behavior's kind. |
Properties
Kind
Gets or sets the behavior's kind: endpoint behavior or service behavior.
Declaration
[DataMember]
public BehaviorKind Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| BehaviorKind |