public ThreadStaticLifetimeScope(IKernel container) { var parent = ObtainCurrentScope(); if (parent != null) { parentScope = parent; } SetCurrentScope(this); }