internal HttpStaticObjectsCollection Clone() { HttpStaticObjectsCollection objectss = new HttpStaticObjectsCollection(); IDictionaryEnumerator enumerator = this._objects.GetEnumerator(); while (enumerator.MoveNext()) { HttpStaticObjectsEntry entry = (HttpStaticObjectsEntry) enumerator.Value; objectss.Add(entry.Name, entry.ObjectType, entry.LateBound); } return objectss; }
/* * Create a copy without copying instances (names and types only) */ internal HttpStaticObjectsCollection Clone() { HttpStaticObjectsCollection c = new HttpStaticObjectsCollection(); IDictionaryEnumerator e = _objects.GetEnumerator(); while (e.MoveNext()) { HttpStaticObjectsEntry entry = (HttpStaticObjectsEntry)e.Value; c.Add(entry.Name, entry.ObjectType, entry.LateBound); } return c; }
internal HttpStaticObjectsCollection Clone() { HttpStaticObjectsCollection objectss = new HttpStaticObjectsCollection(); IDictionaryEnumerator enumerator = this._objects.GetEnumerator(); while (enumerator.MoveNext()) { HttpStaticObjectsEntry entry = (HttpStaticObjectsEntry)enumerator.Value; objectss.Add(entry.Name, entry.ObjectType, entry.LateBound); } return(objectss); }
/* * Create a copy without copying instances (names and types only) */ internal HttpStaticObjectsCollection Clone() { HttpStaticObjectsCollection c = new HttpStaticObjectsCollection(); IDictionaryEnumerator e = _objects.GetEnumerator(); while (e.MoveNext()) { HttpStaticObjectsEntry entry = (HttpStaticObjectsEntry)e.Value; c.Add(entry.Name, entry.ObjectType, entry.LateBound); } return(c); }
static HttpStaticObjectsCollection MakeStaticCollection(ArrayList list) { if (list == null || list.Count == 0) { return(null); } HttpStaticObjectsCollection coll = new HttpStaticObjectsCollection(); foreach (ObjectTagBuilder tag in list) { coll.Add(tag); } return(coll); }
static HttpStaticObjectsCollection MakeStaticCollection (ArrayList list) { if (list == null || list.Count == 0) return null; HttpStaticObjectsCollection coll = new HttpStaticObjectsCollection (); foreach (ObjectTagBuilder tag in list) { coll.Add (tag); } return coll; }