HttpStaticObjectsCollectionBase HttpStaticObjectsCollectionBase HttpStaticObjectsCollectionBase HttpStaticObjectsCollectionBase Class

Definition

Serves as the base class for classes that provide a collection of application-scoped objects for the StaticObjects property.

public ref class HttpStaticObjectsCollectionBase abstract : System::Collections::ICollection
public abstract class HttpStaticObjectsCollectionBase : System.Collections.ICollection
type HttpStaticObjectsCollectionBase = class
    interface ICollection
    interface IEnumerable
Public MustInherit Class HttpStaticObjectsCollectionBase
Implements ICollection
Inheritance
HttpStaticObjectsCollectionBaseHttpStaticObjectsCollectionBaseHttpStaticObjectsCollectionBaseHttpStaticObjectsCollectionBase
Derived
Implements

Remarks

The HttpStaticObjectsCollectionBase class is an abstract class that contains the same members as the HttpStaticObjectsCollection class. The HttpStaticObjectsCollectionBase class lets you create derived classes that are like the HttpStaticObjectsCollection class, but that you can customize and that work outside the ASP.NET pipeline. When you perform unit testing, you typically use a derived class to implement members with customized behavior that fulfills the scenario you are testing.

The HttpStaticObjectsCollectionWrapper class derives from the HttpStaticObjectsCollectionBase class. The HttpStaticObjectsCollectionWrapper class serves as a wrapper for the HttpStaticObjectsCollection class. At run time, you typically use an instance of the HttpStaticObjectsCollectionWrapper class to call members of the HttpStaticObjectsCollection object.

Constructors

HttpStaticObjectsCollectionBase() HttpStaticObjectsCollectionBase() HttpStaticObjectsCollectionBase() HttpStaticObjectsCollectionBase()

Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class.

Properties

Count Count Count Count

When overridden in a derived class, gets the number of objects in the collection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

When overridden in a derived class, gets a value that indicates whether the collection is read-only.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

When overridden in a derived class, gets a value that indicates whether the collection is thread-safe.

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

When overridden in a derived class, gets the object that has the specified name from the collection.

NeverAccessed NeverAccessed NeverAccessed NeverAccessed

When overridden in a derived class, gets a value that indicates whether the collection has been accessed.

SyncRoot SyncRoot SyncRoot SyncRoot

When overridden in a derived class, 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)

When overridden in a derived class, 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()

When overridden in a derived class, 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)

When overridden in a derived class, 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)

When overridden in a derived class, 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