Search Results for

    Show / Hide Table of Contents

    Class Object<T>

    Inheritance
    System.Object
    Object<T>
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FreeSql.Internal.ObjectPool
    Assembly: FreeSql.dll
    Syntax
    public class Object<T> : IDisposable
    Type Parameters
    Name Description
    T

    Properties

    | Improve this Doc View Source

    CreateTime

    创建时间

    Declaration
    public DateTime CreateTime { get; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    GetTimes

    被获取的总次数

    Declaration
    public long GetTimes { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Id

    在对象池中的唯一标识

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    LastGetThreadId

    最后获取时的线程id

    Declaration
    public int LastGetThreadId { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    LastGetTime

    Declaration
    public DateTime LastGetTime { get; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    LastGetTimeCopy

    Declaration
    public DateTime LastGetTimeCopy { get; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    LastReturnThreadId

    最后归还时的线程id

    Declaration
    public int LastReturnThreadId { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    LastReturnTime

    最后归还时的时间

    Declaration
    public DateTime LastReturnTime { get; }
    Property Value
    Type Description
    System.DateTime
    | Improve this Doc View Source

    Pool

    所属对象池

    Declaration
    public IObjectPool<T> Pool { get; }
    Property Value
    Type Description
    IObjectPool<T>
    | Improve this Doc View Source

    Value

    资源对象

    Declaration
    public T Value { get; }
    Property Value
    Type Description
    T

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    InitWith(IObjectPool<T>, Int32, T)

    Declaration
    public static Object<T> InitWith(IObjectPool<T> pool, int id, T value)
    Parameters
    Type Name Description
    IObjectPool<T> pool
    System.Int32 id
    T value
    Returns
    Type Description
    Object<T>
    | Improve this Doc View Source

    ResetValue()

    重置 Value 值

    Declaration
    public void ResetValue()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX