/// <summary> /// Initializes a new instance of the <see cref="Behavior"/> class. /// </summary> /// <param name="attributes">The attributes.</param> /// <param name="length">The length.</param> /// <param name="nodeId">The node id.</param> public Behavior(BehaviorAttributes attributes, Length length, NodeId nodeId) { AttributeCollection = attributes; Length = length; NodeId = nodeId; }
/// <summary> /// Initializes a new instance of the <see cref="Behavior"/> class. /// </summary> public Behavior() { AttributeCollection = new BehaviorAttributes { TypeAttr = BehaviorType.Idle }; }