Пример #1
0
 internal void ChangedLeaseTime(Lease lease, DateTime newTime)
 {
     lock (this.leaseToTimeTable)
         this.leaseToTimeTable[(object)lease] = (object)newTime;
 }
Пример #2
0
 internal void ActivateLease(Lease lease)
 {
     lock (this.leaseToTimeTable)
         this.leaseToTimeTable[(object)lease] = (object)lease.leaseTime;
 }
Пример #3
0
 internal void DeleteLease(Lease lease)
 {
     lock (this.leaseToTimeTable)
         this.leaseToTimeTable.Remove((object)lease);
 }
Пример #4
0
 internal SponsorInfo(Lease lease, object sponsorId, DateTime sponsorWaitTime)
 {
     this.lease           = lease;
     this.sponsorId       = sponsorId;
     this.sponsorWaitTime = sponsorWaitTime;
 }