Opc.Ua.FiniteStateMachineState.OnAfterCreate C# (CSharp) Method

OnAfterCreate() protected method

Initializes the object as a collection of counters which change value on read.
protected OnAfterCreate ( ISystemContext context, NodeState node ) : void
context ISystemContext
node NodeState
return void
        protected override void OnAfterCreate(ISystemContext context, NodeState node)
        {
            base.OnAfterCreate(context, node);

            // cache the namespace index used to qualify the element browse names and node ids.
            int index = context.NamespaceUris.GetIndex(ElementNamespaceUri);
 
            if (index >= 0)
            {
                ElementNamespaceIndex = (ushort)index;
            }
        }
        #endregion