HttpStaticObjectsCollectionWrapper HttpStaticObjectsCollectionWrapper HttpStaticObjectsCollectionWrapper HttpStaticObjectsCollectionWrapper Class

Definition

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

public ref class HttpStaticObjectsCollectionWrapper : System::Web::HttpStaticObjectsCollectionBase
public class HttpStaticObjectsCollectionWrapper : System.Web.HttpStaticObjectsCollectionBase
type HttpStaticObjectsCollectionWrapper = class
    inherit HttpStaticObjectsCollectionBase
Public Class HttpStaticObjectsCollectionWrapper
Inherits HttpStaticObjectsCollectionBase
Inheritance
HttpStaticObjectsCollectionWrapperHttpStaticObjectsCollectionWrapperHttpStaticObjectsCollectionWrapperHttpStaticObjectsCollectionWrapper

Remarks

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.

Constructors

HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection) HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection) HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection) HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection)

Initializes a new instance of the HttpStaticObjectsCollectionWrapper class.

Properties

Count Count Count Count

Gets the number of objects in the collection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value that indicates whether the collection is read-only.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

Gets a value that indicates whether the collection is thread-safe.

Item[String] Item[String] Item[String] Item[String]

Gets the object that has the specified name from the collection.

NeverAccessed NeverAccessed NeverAccessed NeverAccessed

Gets a value that indicates whether the collection has been accessed.

SyncRoot SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the collection.

Methods

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the elements of the collection to an array, starting at the specified index in the array.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that can be used to iterate through the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObject(String) GetObject(String) GetObject(String) GetObject(String)

Returns the object that has the specified name from the collection.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Serialize(BinaryWriter) Serialize(BinaryWriter) Serialize(BinaryWriter) Serialize(BinaryWriter)

Writes the contents of the collection to a BinaryWriter object.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to