From d99280199f018b94cb51ff0966183e95a0d968b9 Mon Sep 17 00:00:00 2001 From: Eugene Sadovoi Date: Sat, 8 Jun 2019 14:55:51 -0400 Subject: [PATCH] Added debugging ID --- src/Lifetime/Abstracts/LifetimeManager.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Lifetime/Abstracts/LifetimeManager.cs b/src/Lifetime/Abstracts/LifetimeManager.cs index 9c916165..1f044575 100644 --- a/src/Lifetime/Abstracts/LifetimeManager.cs +++ b/src/Lifetime/Abstracts/LifetimeManager.cs @@ -135,5 +135,12 @@ internal virtual object Pipeline(ref TContext context) where TContext => ((ResolveDelegate)PipelineDelegate)(ref context); #endregion + + + #region Debugger +#if DEBUG + public string ID { get; } = Guid.NewGuid().ToString(); +#endif + #endregion } }