// now we make out own method // we need this function only from the big class public void IncreasebyNumber(int number) { // dependency injection _bigclass.AddToI(number); }
public void IncreaseBy(int numberToAdd) { _bigClass.AddToI(numberToAdd); }
// now we make out own method // we need this function only from the big class public void IncreasebyNumber(int number) { // dependency injection _bigclass.AddToI(number); }
public void IncreaseBy(int numberToAdd) { _bigClass.AddToI(numberToAdd); }