Is there TryResolve in Unity?
How can I make Unity not to throw ResolutionFailedException if Resolve fails?

Is there something like TryResolve<IMyInterface>?
       
    var container = new UnityContainer();
    var foo = container.TryResolve<IFoo>();
    Assert.IsNull(foo);


Is there TryResolve in Unity?
===

How can I make Unity not to throw ResolutionFailedException if Resolve fails?

Is there something like TryResolve<IMyInterface>?
       
    var container = new UnityContainer();
    var foo = container.TryResolve<IFoo>();
    Assert.IsNull(foo);

