1 implementation of ILease
mscorlib (1)
system\runtime\remoting\lease.cs (1)
28internal class Lease : MarshalByRefObject, ILease
40 references to ILease
mscorlib (23)
system\runtime\remoting\clientsponsor.cs (6)
49ILease lease = (ILease)obj.GetLifetimeService(); 66ILease lease = null; 69lease = (ILease)sponsorTable[obj]; 77public TimeSpan Renewal(ILease lease) 91((ILease)e.Value).Unregister(this);
system\runtime\remoting\isponsor.cs (1)
26TimeSpan Renewal(ILease lease);
system\runtime\remoting\lease.cs (1)
342internal delegate TimeSpan AsyncRenewal(ILease lease);
system\runtime\remoting\leasemanager.cs (1)
128internal ILease GetLease(MarshalByRefObject obj)
system\runtime\remoting\lifetimeservices.cs (12)
172internal static ILease GetLeaseInitial(MarshalByRefObject obj) 175ILease lease = null; 177lease = (ILease)leaseManager.GetLease(obj); 186internal static ILease GetLease(MarshalByRefObject obj) 189ILease lease = null; 191lease = (ILease)leaseManager.GetLease(obj); 202internal static ILease CreateLease(MarshalByRefObject obj) 211internal static ILease CreateLease(TimeSpan leaseTime, 220return (ILease)(new Lease(leaseTime, renewOnCallTime, sponsorshipTimeout, obj)); 303if (!(leaseObj is System.Runtime.Remoting.Lifetime.ILease)) 306ILease ilease = (ILease)leaseObj;
system\runtime\remoting\objecthandle.cs (2)
78ILease lease = (ILease)base.InitializeLifetimeService();
PresentationFramework (7)
src\Framework\MS\Internal\Utility\SponsorHelper.cs (3)
26private ILease _lease; 31internal SponsorHelper(ILease lease, TimeSpan timespan) 40TimeSpan ISponsor.Renewal(ILease lease)
src\Framework\System\Windows\Application.cs (2)
2044ILease lease = RemotingServices.GetLifetimeService(_browserCallbackServices as MarshalByRefObject) as ILease;
src\Framework\System\Windows\Interop\DocobjHost.cs (2)
119ILease lease = (ILease)base.InitializeLifetimeService();
System.AddIn (3)
System\Addin\Pipeline\ContractBase.cs (3)
246public TimeSpan Renewal(ILease lease) 268ILease baseLease = (ILease)GetLifetimeService();
System.Transactions (2)
System\Transactions\Transaction.cs (2)
1537ILease lease = (ILease)base.InitializeLifetimeService();
XamlBuildTask (5)
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (2)
35ILease lease = (ILease)base.InitializeLifetimeService();
Microsoft\Build\Tasks\Xaml\PartialClassGenerationTaskInternal.cs (2)
45ILease lease = (ILease)base.InitializeLifetimeService();
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
42internal static void SetLeaseLifetimeFromEnvironmentVariable(ILease lease)