Skip to content

Commit

Permalink
Make stash provide strictly
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Neuwirt committed Jun 14, 2019
1 parent 163bcbb commit 5f949ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Miruken/Api/Stash.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public Stash(bool root = false)
_data = new Dictionary<Type, object>();
}

[Provides]
[Provides(Strict = true)]
public T Provides<T>() where T : class
{
return _data.TryGetValue(typeof(T), out var data)
Expand Down

0 comments on commit 5f949ef

Please sign in to comment.