共用方式為


Repository<T> Class

Definition

Class which has list of job objects currently active in the system.

generic <typename T>
 where T : classpublic ref class Repository abstract
public abstract class Repository<T> where T : class
type Repository<'T (requires 'T : null)> = class
Public MustInherit Class Repository(Of T)

Type Parameters

T
Inheritance
Repository<T>
Derived

Constructors

Repository<T>(String)

Internal constructor.

Methods

Add(T)

Add an item to the repository.

GetItem(Guid)

Gets the specified Item.

GetItems()
GetKey(T)

Get a key for the specified item.

Remove(T)

Remove the specified item from the repository.

Applies to