Jak skonfigurować kontener jedności, aby podać wartość konstruktora łańcucha?

To jest mójdad klasa

 public class Dad
    {
        public string Name
        {
            get;set;
        }
        public Dad(string name)
        {
            Name = name;
        }
    }

To jest moja metoda testowa

public void TestDad()
        {
           UnityContainer DadContainer= new UnityContainer();
           Dad newdad = DadContainer.Resolve<Dad>();    
           newdad.Name = "chris";    
           Assert.AreEqual(newdad.Name,"chris");                 
        }

To jest błąd, który otrzymuję

"InvalidOperationException - the type String cannot be constructed.
 You must configure the container to supply this value"

Jak skonfigurować mojeDadContainer aby to twierdzenie przeminęło? Dziękuję Ci

questionAnswers(1)

yourAnswerToTheQuestion