ContextLifetimeElement.cs
9 lines
| 276 B
| text/x-csharp
|
CSharpLexer
cin
|
r269 | using Unity.Lifetime; | |
namespace Implab.ServiceHost.Unity | |||
{ | |||
public class ContextLifetimeElement : LifetimeElement { | |||
public override LifetimeManager GetLifetimeManager(ConfigurationContext ctx) { | |||
return new PerResolveLifetimeManager(); | |||
} | |||
} | |||
} |