/// Example Implementation
using SanteDB.Core.Services;
/// Other usings here
public class MyResourceCheckoutService : SanteDB.Core.Services.IResourceCheckoutService {
public String ServiceName => "My own IResourceCheckoutService service";
/// <summary>
/// Try to get a lock on the resource for editing
/// </summary>
public Boolean Checkout<T>(Guid key){
throw new System.NotImplementedException();
}
/// <summary>
/// Release the lock on the specified key
/// </summary>
public Boolean Checkin<T>(Guid key){
throw new System.NotImplementedException();
}
/// <summary>
/// Attempts to perform a soft checkout - this is equivalent to attempting to take a lock but not actually taking it
/// </summary>
public Boolean IsCheckedout<T>(Guid key,IIdentity& currentOwner){
throw new System.NotImplementedException();
}
}