HttpStaticObjectsCollection HttpStaticObjectsCollection HttpStaticObjectsCollection HttpStaticObjectsCollection Class

Definition

Provides a collection of application-scoped objects for the StaticObjects property.

public ref class HttpStaticObjectsCollection sealed : System::Collections::ICollection
public sealed class HttpStaticObjectsCollection : System.Collections.ICollection
type HttpStaticObjectsCollection = class
    interface ICollection
    interface IEnumerable
Public NotInheritable Class HttpStaticObjectsCollection
Implements ICollection
Inheritance
HttpStaticObjectsCollectionHttpStaticObjectsCollectionHttpStaticObjectsCollectionHttpStaticObjectsCollection
Implements

Constructors

HttpStaticObjectsCollection() HttpStaticObjectsCollection() HttpStaticObjectsCollection() HttpStaticObjectsCollection()

Initializes a new instance of the HttpStaticObjectsCollection class.

Properties

Count Count Count Count

Gets the number of objects in the collection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the collection is read-only.

IsSynchronized IsSynchronized IsSynchronized IsSynchronized

Gets a value indicating whether the collection is synchronized (that is, thread-safe).

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

Gets the object with the specified name from the collection.

NeverAccessed NeverAccessed NeverAccessed NeverAccessed

Gets a Boolean value indicating whether the collection has been accessed before.

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 members of an HttpStaticObjectsCollection into an array.

Deserialize(BinaryReader) Deserialize(BinaryReader) Deserialize(BinaryReader) Deserialize(BinaryReader)

Creates an HttpStaticObjectsCollection object from a binary file that was written by using the Serialize(BinaryWriter) method.

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 a dictionary enumerator used for iterating through the key-and-value pairs contained in 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 with the specified name from the collection. This property is an alternative to the this accessor.

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