Redigeeri

Jagamisviis:


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
HttpStaticObjectsCollection
Implements

Constructors

HttpStaticObjectsCollection()

Initializes a new instance of the HttpStaticObjectsCollection class.

Properties

Count

Gets the number of objects in the collection.

IsReadOnly

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

IsSynchronized

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

Item[String]

Gets the object with the specified name from the collection.

NeverAccessed

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

SyncRoot

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

Methods

CopyTo(Array, Int32)

Copies members of an HttpStaticObjectsCollection into an array.

Deserialize(BinaryReader)

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

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

Returns a dictionary enumerator used for iterating through the key-and-value pairs contained in the collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetObject(String)

Returns the object with the specified name from the collection. This property is an alternative to the this accessor.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Serialize(BinaryWriter)

Writes the contents of the collection to a BinaryWriter object.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to