public Decarator(IHomeAnimals dec) { Component = dec; }
public ElementDecarator(IHomeAnimals component) : base(component) { }
public Animals(IAbstactFactory factory) { wild = factory.GetWildAnimals(); home = factory.GetHomeAnimals(); }
public Decarator(IHomeAnimals dec) { Component = dec; }
public ElementDecarator(IHomeAnimals component) : base(component) { }
public Animals(IAbstactFactory factory) { wild = factory.GetWildAnimals(); home = factory.GetHomeAnimals(); }