Unity Registry with Observer Pattern, how?
<p>I have a concrete class that takes a collection of observers implementing an observer pattern.
I'm construction injecting the list of observers. </p>

<p>How to I register the Implementations and Concretes using Unity?</p>

<p>ex:</p>

<pre><code>public class MyService : IMyService
{
    private IObserver[] _observers;
    public MyService(params IObserver[] observers){
             _observers = observers;
    }

    public void MyMethod(MyObject myObject){

        foreach(var ob in _observers){
               ob.Execute(myObject);
        }
    }
}

public class Ob1 : IObserver{
      public void Execute(MyObject obj){
           //do something
       }
}

public class Ob2 : IObserver{
      public void Execute(MyObject obj){
           //do something
       }
}

public class MyRegistry : UnityRegistry
{
    public MyRegistry(){
        ///What Goes Here??
    }
}
</code></pre>