Inheritance: IDictionary, ICollection, IEnumerable, ICloneable
Ejemplo n.º 1
0
        public static FrameworkInfoDictionary Synchronized(FrameworkInfoDictionary nonSync)
        {
            FrameworkInfoDictionary sync = new FrameworkInfoDictionary();

            sync.InnerHash = Hashtable.Synchronized(nonSync.InnerHash);
            return(sync);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Clones this instance.
        /// </summary>
        /// <returns>The instance clone.</returns>
        public FrameworkInfoDictionary Clone()
        {
            FrameworkInfoDictionary clone = new FrameworkInfoDictionary();

            clone.InnerHash = (Hashtable)_innerHash.Clone();
            return(clone);
        }
Ejemplo n.º 3
0
 public FrameworkInfoDictionary(FrameworkInfoDictionary original)
 {
     _innerHash = new Hashtable(original.InnerHash);
 }
Ejemplo n.º 4
0
 internal FrameworkInfoDictionaryEnumerator(FrameworkInfoDictionary enumerable)
 {
     _innerEnumerator = enumerable.InnerHash.GetEnumerator();
 }
Ejemplo n.º 5
0
 public FrameworkInfoDictionary Clone()
 {
     FrameworkInfoDictionary clone = new FrameworkInfoDictionary();
     clone.InnerHash = (Hashtable) _innerHash.Clone();
     return clone;
 }
Ejemplo n.º 6
0
 public static FrameworkInfoDictionary Synchronized(FrameworkInfoDictionary nonSync)
 {
     FrameworkInfoDictionary sync = new FrameworkInfoDictionary();
     sync.InnerHash = Hashtable.Synchronized(nonSync.InnerHash);
     return sync;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrameworkInfoDictionary"/> class.
 /// </summary>
 /// <param name="original">The original dictionary which well be copied.</param>
 public FrameworkInfoDictionary(FrameworkInfoDictionary original)
 {
     _innerHash = new Hashtable(original.InnerHash);
 }
Ejemplo n.º 8
0
 internal FrameworkInfoDictionaryEnumerator(FrameworkInfoDictionary enumerable)
 {
     _innerEnumerator = enumerable.InnerHash.GetEnumerator();
 }