HttpStaticObjectsCollectionWrapper Class
TOC
Collapse the table of content
Expand the table of content

HttpStaticObjectsCollectionWrapper Class

.NET Framework (current version)
 

Encapsulates the HTTP intrinsic object that provides a collection of application-scoped objects for the StaticObjects property.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.Web.HttpStaticObjectsCollectionBase
    System.Web.HttpStaticObjectsCollectionWrapper

public class HttpStaticObjectsCollectionWrapper : HttpStaticObjectsCollectionBase

NameDescription
System_CAPS_pubmethodHttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection)

Initializes a new instance of the HttpStaticObjectsCollectionWrapper class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of objects in the collection.(Overrides HttpStaticObjectsCollectionBase.Count.)

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the collection is read-only.(Overrides HttpStaticObjectsCollectionBase.IsReadOnly.)

System_CAPS_pubpropertyIsSynchronized

Gets a value that indicates whether the collection is thread-safe.(Overrides HttpStaticObjectsCollectionBase.IsSynchronized.)

System_CAPS_pubpropertyItem[String]

Gets the object that has the specified name from the collection.(Overrides HttpStaticObjectsCollectionBase.Item[String].)

System_CAPS_pubpropertyNeverAccessed

Gets a value that indicates whether the collection has been accessed.(Overrides HttpStaticObjectsCollectionBase.NeverAccessed.)

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection.(Overrides HttpStaticObjectsCollectionBase.SyncRoot.)

NameDescription
System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the elements of the collection to an array, starting at the specified index in the array.(Overrides HttpStaticObjectsCollectionBase.CopyTo(Array, Int32).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can be used to iterate through the collection.(Overrides HttpStaticObjectsCollectionBase.GetEnumerator().)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetObject(String)

Returns the object that has the specified name from the collection.(Overrides HttpStaticObjectsCollectionBase.GetObject(String).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSerialize(BinaryWriter)

Writes the contents of the collection to a BinaryWriter object.(Overrides HttpStaticObjectsCollectionBase.Serialize(BinaryWriter).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft