Inheritance: ObjectSource
Esempio n. 1
0
 /// <summary cref="NodeSource.Clone(NodeSource)" />
 public override NodeSource Clone(NodeSource parent)
 {
     lock (DataLock)
     {
         Folder clone = new Folder(Server, parent);
         clone.Initialize(this);
         return clone;
     }
 }
Esempio n. 2
0
        /// <summary>
        /// Creates a new instance of the node.
        /// </summary>
        public static new Folder Construct(
            IServerInternal server, 
            NodeSource      parent, 
            NodeId          referenceTypeId,
            NodeId          nodeId,
            QualifiedName   browseName,
            uint            numericId)
        {
            Folder instance = new Folder(server, parent);

            instance.Initialize(referenceTypeId, nodeId, browseName, numericId, ObjectTypes.FolderType);

            return instance;
        }