DefaultPooledObjectPolicy<T> Classe

Definição

generic <typename T>
 where T : class, gcnew()public ref class DefaultPooledObjectPolicy : Microsoft::Extensions::ObjectPool::IPooledObjectPolicy<T>
generic <typename T>
 where T : class, gcnew()public ref class DefaultPooledObjectPolicy : Microsoft::Extensions::ObjectPool::PooledObjectPolicy<T>
public class DefaultPooledObjectPolicy<T> : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy<T> where T : class, new()
public class DefaultPooledObjectPolicy<T> : Microsoft.Extensions.ObjectPool.PooledObjectPolicy<T> where T : class, new()
type DefaultPooledObjectPolicy<'T (requires 'T : null and 'T : (new : unit -> 'T))> = class
    interface IPooledObjectPolicy<'T (requires 'T : null and 'T : (new : unit -> 'T))>
type DefaultPooledObjectPolicy<'T (requires 'T : null and 'T : (new : unit -> 'T))> = class
    inherit PooledObjectPolicy<'T (requires 'T : null and 'T : (new : unit -> 'T))>
Public Class DefaultPooledObjectPolicy(Of T)
Implements IPooledObjectPolicy(Of T)
Public Class DefaultPooledObjectPolicy(Of T)
Inherits PooledObjectPolicy(Of T)

Parâmetros de tipo

T
Herança
DefaultPooledObjectPolicy<T>
Herança
DefaultPooledObjectPolicy<T>
Implementações

Construtores

DefaultPooledObjectPolicy<T>()

Métodos

Create()

Cria um T.Creates a T.

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)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
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)
Return(T)

Executa algum processamento quando um objeto é retornado ao pool.Runs some processing when an object is returned to the pool. Pode ser usado para redefinir o estado de um objeto e indicar se o objeto deve ser retornado ao pool.Can be used to reset the state of an object and indicate if the object should be returned to the pool.

ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a