Skip to content

Commit

Permalink
Resolved #927: Clarified duplicate lifetime scope exception message w…
Browse files Browse the repository at this point in the history
…ith respect to Owned<T>.
  • Loading branch information
tillig committed Aug 16, 2018
1 parent 1738b76 commit 2fd1ae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Autofac/Core/Lifetime/LifetimeScopeResources.resx
Expand Up @@ -118,7 +118,7 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="DuplicateTagDetected" xml:space="preserve">
<value>The tag '{0}' has already been assigned to a parent lifetime scope.</value>
<value>The tag '{0}' has already been assigned to a parent lifetime scope. If you are using Owned&lt;T&gt; this indicates you may have a circular dependency chain.</value>
</data>
<data name="ScopeIsDisposed" xml:space="preserve">
<value>Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.</value>
Expand Down

0 comments on commit 2fd1ae0

Please sign in to comment.