Exemple #1
0
        public CswNbtNode CopyNode(CswPrimaryKey NodePk)
        {
            CswNbtNode NewNode      = null;
            CswNbtNode OriginalNode = _CswNbtResources.Nodes.GetNode(NodePk);

            if (null != OriginalNode)
            {
                NewNode = OriginalNode.ObjClass.CopyNode();
                if (NewNode != null && null != _CswNbtStatisticsEvents)
                {
                    _CswNbtStatisticsEvents.OnCopyNode(OriginalNode, NewNode);
                }
            }
            return(NewNode);
        }
Exemple #2
0
 public void HandleCopyNode(CswNbtNode OldNode, CswNbtNode NewNode)
 {
     _CswNbtStatisticsEvents.OnCopyNode(OldNode, NewNode);
 }