ILifestyleManager
The ILifestyleManager implements
a strategy for a given lifestyle, like singleton, per-thread
and transient.
using Castle.Core;
using Castle.MicroKernel.Context;
using System;
namespace Castle.MicroKernel
{
public interface ILifestyleManager : IDisposable
{
void Init(IComponentActivator componentActivator, IKernel kernel, ComponentModel model);
bool Release(object instance);
object Resolve(CreationContext context, IReleasePolicy releasePolicy);
}
}