ContextLifetimeElement.cs
9 lines
| 269 B
| text/x-csharp
|
CSharpLexer
cin
|
r289 | using Unity.Lifetime; | |
namespace Implab.ServiceHost.Unity | |||
{ | |||
public class ContextLifetimeElement : LifetimeElement { | |||
public override LifetimeManager GetLifetime(ContainerBuilder builder) { | |||
return new PerResolveLifetimeManager(); | |||
} | |||
} | |||
} |