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