HttpStaticObjectsCollectionWrapper Classe
Definição
Encapsula um objeto HTTP intrínseco que fornece uma coleção de objetos no escopo do aplicativo para a propriedade StaticObjects.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
- Herança
Comentários
A HttpStaticObjectsCollectionWrapper classe deriva da HttpStaticObjectsCollectionBase classe e serve como um wrapper para a HttpStaticObjectsCollection classe.The HttpStaticObjectsCollectionWrapper class derives from the HttpStaticObjectsCollectionBase class and serves as a wrapper for the HttpStaticObjectsCollection class. Essa classe expõe a funcionalidade da HttpStaticObjectsCollection classe, enquanto também expõe o HttpStaticObjectsCollectionBase tipo.This class exposes the functionality of the HttpStaticObjectsCollection class while also exposing the HttpStaticObjectsCollectionBase type. A HttpStaticObjectsCollectionBase classe permite que você substitua a implementação original da HttpStaticObjectsCollection classe em seu aplicativo por uma implementação personalizada, como quando você executa o teste de unidade fora do pipeline do ASP.net.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.
Construtores
| HttpStaticObjectsCollectionWrapper(HttpStaticObjectsCollection) |
Inicializa uma nova instância da classe HttpStaticObjectsCollectionWrapper.Initializes a new instance of the HttpStaticObjectsCollectionWrapper class. |
Propriedades
| Count |
Obtém o número de objetos na coleção.Gets the number of objects in the collection. |
| IsReadOnly |
Obtém um valor que indica se a coleção é somente leitura.Gets a value that indicates whether the collection is read-only. |
| IsSynchronized |
Obtém um valor que indica se a coleção é thread-safe.Gets a value that indicates whether the collection is thread-safe. |
| Item[String] |
Obtém da coleção o objeto que tem o nome especificado.Gets the object that has the specified name from the collection. |
| NeverAccessed |
Obtém um valor que indica se a coleção foi acessada.Gets a value that indicates whether the collection has been accessed. |
| SyncRoot |
Obtém um objeto que pode ser usado para sincronizar o acesso à coleção.Gets an object that can be used to synchronize access to the collection. |
Métodos
| CopyTo(Array, Int32) |
Copia os elementos da coleção para uma matriz, começando no índice especificado na matriz.Copies the elements of the collection to an array, starting at the specified index in the array. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetEnumerator() |
Retorna um enumerador que pode ser usado para iterar na coleção.Returns an enumerator that can be used to iterate through the collection. |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetObject(String) |
Retorna da coleção o objeto que tem o nome especificado.Returns the object that has the specified name from the collection. |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| Serialize(BinaryWriter) |
Grava o conteúdo da coleção para um objeto BinaryWriter.Writes the contents of the collection to a BinaryWriter object. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
Métodos de Extensão
| Cast<TResult>(IEnumerable) |
Converte os elementos de um IEnumerable para o tipo especificado.Casts the elements of an IEnumerable to the specified type. |
| OfType<TResult>(IEnumerable) |
Filtra os elementos de um IEnumerable com base em um tipo especificado.Filters the elements of an IEnumerable based on a specified type. |
| AsParallel(IEnumerable) |
Habilita a paralelização de uma consulta.Enables parallelization of a query. |
| AsQueryable(IEnumerable) |
Converte um IEnumerable em um IQueryable.Converts an IEnumerable to an IQueryable. |