mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Corrected message on ObsoleteAttribute applied to ITaskLeaseService/TaskLeaseService.
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Orchard.TaskLease.Services {
|
|||||||
/// Describes a service to save and acquire task leases. A task lease can't be acquired by two different machines,
|
/// Describes a service to save and acquire task leases. A task lease can't be acquired by two different machines,
|
||||||
/// for a specific amount of time. Optionnally a State can be saved along with the lease.
|
/// for a specific amount of time. Optionnally a State can be saved along with the lease.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("Use Orchard.Tasks.Locking.IDistributedLockService.AcquireForMachine instead.")]
|
[Obsolete("Use Orchard.Tasks.Locking.IDistributedLockService and the AcquireLockForMachine/TryAcquireLockForMachine methods instead.")]
|
||||||
public interface ITaskLeaseService : IDependency {
|
public interface ITaskLeaseService : IDependency {
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Orchard.TaskLease.Services {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides a database driven implementation of <see cref="ITaskLeaseService" />
|
/// Provides a database driven implementation of <see cref="ITaskLeaseService" />
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("Use Orchard.Tasks.Locking.DistributedLockService.AcquireForMachine instead.")]
|
[Obsolete("Use Orchard.Tasks.Locking.DistributedLockService and the AcquireLockForMachine/TryAcquireLockForMachine methods instead.")]
|
||||||
public class TaskLeaseService : ITaskLeaseService {
|
public class TaskLeaseService : ITaskLeaseService {
|
||||||
|
|
||||||
private readonly IRepository<TaskLeaseRecord> _repository;
|
private readonly IRepository<TaskLeaseRecord> _repository;
|
||||||
|
|||||||
Reference in New Issue
Block a user