public int MagicMethod(float numberOfTrolls) { Logger.Info("Starting doing Some Magic, Number of trolls: {0}", numberOfTrolls); var result = decorated.MagicMethod(numberOfTrolls); Logger.Info("Finished doing Some Magic"); return(result); }
public void SomeAction() { // ... var magicNumber = magicService.MagicMethod(7); //.. }