public void WaterPlantsIndirectly() { // The iGardener is only an interface, there is no way to find out which // concrete type has been put into it; as such it cannot be explored any // further _iGardener.WaterPlants(); }
public void WhenEntrypointIsAnImplicitInterfaceImplementation() { _myGardener = new Gardener(); _myGardener.WaterPlants(); }