This commit is contained in:
Eugene Sadovoi 2018-02-13 16:12:46 -05:00
Родитель bffb68dfee
Коммит 8c9f566da0
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -66,6 +66,10 @@ namespace Unity.AspNet.Mvc
UnityPerRequestHttpModule.SetValue(_lifetimeKey, null);
}
/// <summary>
/// Creates clone
/// </summary>
/// <returns></returns>
protected override LifetimeManager OnCreateLifetimeManager()
{
return new PerRequestLifetimeManager();