HttpStaticObjectsCollectionWrapper Class
Encapsulates the HTTP intrinsic object that provides a collection of application-scoped objects for the StaticObjects property.
Assembly: System.Web (in System.Web.dll)
System.Web::HttpStaticObjectsCollectionBase
System.Web::HttpStaticObjectsCollectionWrapper
| Name | Description | |
|---|---|---|
![]() | HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection^) | 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[String^] | 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(Array^, Int32) | 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 the default hash function. (Inherited from Object.) |
![]() | GetObject(String^) | Returns the object that has the specified name from the collection.(Overrides HttpStaticObjectsCollectionBase::GetObject(String^).) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Serialize(BinaryWriter^) | 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.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
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.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


