HttpStaticObjectsCollectionWrapper Class
Encapsulates the HTTP intrinsic object that provides a collection of application-scoped objects for the StaticObjects property.
System.Web::HttpStaticObjectsCollectionBase
System.Web::HttpStaticObjectsCollectionWrapper
Assembly: System.Web (in System.Web.dll)
The HttpStaticObjectsCollectionWrapper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | HttpStaticObjectsCollectionWrapper | Initializes a new instance of the HttpStaticObjectsCollectionWrapper class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of objects in the collection. (Overrides HttpStaticObjectsCollectionBase::Count.) |
![]() | IsReadOnly | Gets a value that indicates whether the collection is read-only. (Overrides HttpStaticObjectsCollectionBase::IsReadOnly.) |
![]() | IsSynchronized | Gets a value that indicates whether the collection is thread-safe. (Overrides HttpStaticObjectsCollectionBase::IsSynchronized.) |
![]() | Item | Gets the object that has the specified name from the collection. (Overrides HttpStaticObjectsCollectionBase::Item[String].) |
![]() | NeverAccessed | Gets a value that indicates whether the collection has been accessed. (Overrides HttpStaticObjectsCollectionBase::NeverAccessed.) |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the collection. (Overrides HttpStaticObjectsCollectionBase::SyncRoot.) |
| Name | Description | |
|---|---|---|
![]() | CopyTo | Copies the elements of the collection to an array, starting at the specified index in the array. (Overrides HttpStaticObjectsCollectionBase::CopyTo(Array, Int32).) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that can be used to iterate through the collection. (Overrides HttpStaticObjectsCollectionBase::GetEnumerator().) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetObject | Returns the object that has the specified name from the collection. (Overrides HttpStaticObjectsCollectionBase::GetObject(String).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Serialize | Writes the contents of the collection to a BinaryWriter object. (Overrides HttpStaticObjectsCollectionBase::Serialize(BinaryWriter).) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The HttpStaticObjectsCollectionWrapper class derives from the HttpStaticObjectsCollectionBase class and serves as a wrapper for the HttpStaticObjectsCollection class. This class exposes the functionality of the HttpStaticObjectsCollection class while also exposing the HttpStaticObjectsCollectionBase type. The HttpStaticObjectsCollectionBase class enables you to replace the original implementation of the HttpStaticObjectsCollection class in your application with a custom implementation, such as when you perform unit testing outside the ASP.NET pipeline.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


