Exemplo n.º 1
0
        private void SetPrivateExtension(byte[] prefix, byte[] data)
        {
            // If the collection does not exist, create it
            if (privs == null)
            {
                privs = new SdesPrivateExtensionHashtable();
            }

            // Set the value (this will add if it does not exist)
            privs[prefix] = data;
        }
Exemplo n.º 2
0
        public object Clone()
        {
            SdesPrivateExtensionHashtable clone = new SdesPrivateExtensionHashtable();

            foreach (DictionaryEntry de in h)
            {
                clone.Add((byte[])de.Key, (byte[])de.Value);
            }

            return(clone);
        }
Exemplo n.º 3
0
        private void SetPrivateExtension(byte[] prefix, byte[] data)
        {
            // If the collection does not exist, create it
            if (privs == null)
            {
                privs = new SdesPrivateExtensionHashtable();
            }

            // Set the value (this will add if it does not exist)
            privs[prefix] = data;
        }
Exemplo n.º 4
0
        public object Clone()
        {
            SdesPrivateExtensionHashtable clone = new SdesPrivateExtensionHashtable();

            foreach(DictionaryEntry de in h)
            {
                clone.Add((byte[])de.Key, (byte[])de.Value);
            }

            return clone;
        }