Click or drag to resize
SingletonT Class
单例
Inheritance Hierarchy
SystemObject
  AdfSingletonT

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public class Singleton<T>
where T : new()

Type Parameters

T

The SingletonT type exposes the following members.

Constructors
  NameDescription
Public methodSingletonT
Initializes a new instance of the SingletonT class
Top
Methods
  NameDescription
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberInstance
实例
Top
See Also

Reference