Click or drag to resize

IResourceCheckoutServiceIsCheckedoutT Method

Attempts to perform a soft checkout - this is equivalent to attempting to take a lock but not actually taking it

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
bool IsCheckedout<T>(
	Guid key,
	out IIdentity currentOwner
)

Parameters

key  Guid
The key of the object referenced by T
currentOwner  IIdentity
The current owner of the lock if one exists

Type Parameters

T
The type of object to check

Return Value

Boolean
True if the object is checked out
See Also