示例#1
0
        /// <summary>
        /// Saves the parameters for an incomplete browse information.
        /// </summary>
        public TsCDaBrowsePosition(OpcItem itemId, TsCDaBrowseFilters filters)
        {
            if (filters == null)
            {
                throw new ArgumentNullException(nameof(filters));
            }

            itemId_        = (OpcItem)itemId?.Clone();
            browseFilters_ = (TsCDaBrowseFilters)filters.Clone();
        }
示例#2
0
        ///////////////////////////////////////////////////////////////////////
        #region Constructors, Destructor, Initialization

        /// <summary>
        /// Saves the parameters for an incomplete browse information.
        /// </summary>
        public TsCDaBrowsePosition(OpcItem itemID, TsCDaBrowseFilters filters)
        {
            if (filters == null)
            {
                throw new ArgumentNullException("Filters");
            }

            _itemID  = (itemID != null) ? (OpcItem)itemID.Clone() : null;
            _filters = (TsCDaBrowseFilters)filters.Clone();
        }