Table of Contents

Class EntityLock<T, TKey>

Namespace
Tharga.MongoDB.Lockable
Assembly
Tharga.MongoDB.dll
public record EntityLock<T, TKey> : IEquatable<EntityLock<T, TKey>> where T : LockableEntityBase<TKey>

Type Parameters

T
TKey
Inheritance
EntityLock<T, TKey>
Implements
Derived
Inherited Members

Constructors

EntityLock(T, Lock)

public EntityLock(T entity, Lock l)

Parameters

entity T
l Lock

Properties

Entity

public T Entity { get; }

Property Value

T

Lock

public Lock Lock { get; }

Property Value

Lock