Initialize() public method

public Initialize ( NodeSource source ) : void
source NodeSource
return void
Ejemplo n.º 1
0
        /// <summary>
        /// Creates a new instance of the node.
        /// </summary>
        public static ObjectSource Construct(IServerInternal server)
        {
            ObjectSource instance = new ObjectSource(server, null);

            instance.Initialize(null, null, null, 0, ObjectTypes.BaseObjectType);
            return(instance);
        }
Ejemplo n.º 2
0
 /// <summary cref="NodeSource.Clone(NodeSource)" />
 public override NodeSource Clone(NodeSource parent)
 {
     lock (DataLock)
     {
         ObjectSource clone = this;
         clone.Initialize(this);
         return(clone);
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of the node.
 /// </summary>
 public static ObjectSource Construct(
     IServerInternal server, 
     NodeSource      parent, 
     NodeId          referenceTypeId,
     NodeId          nodeId,
     QualifiedName   browseName,
     uint            numericId)
 {
     ObjectSource instance = new ObjectSource(server, parent);
     instance.Initialize(referenceTypeId, nodeId, browseName, numericId, ObjectTypes.BaseObjectType);
     return instance;
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Creates a new instance of the node.
        /// </summary>
        public static ObjectSource Construct(
            IServerInternal server,
            NodeSource parent,
            NodeId referenceTypeId,
            NodeId nodeId,
            QualifiedName browseName,
            uint numericId)
        {
            ObjectSource instance = new ObjectSource(server, parent);

            instance.Initialize(referenceTypeId, nodeId, browseName, numericId, ObjectTypes.BaseObjectType);
            return(instance);
        }
Ejemplo n.º 5
0
 /// <summary>
 /// Creates a new instance of the node.
 /// </summary>
 public static ObjectSource Construct(IServerInternal server)
 {
     ObjectSource instance = new ObjectSource(server, null);
     instance.Initialize(null, null, null, 0, ObjectTypes.BaseObjectType);
     return instance;
 }