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