public override void Touch(IScreenTouch touchScreen) { Console.WriteLine($"This touch was made on {nameof(AcousticPulseRecognition)} screen"); Console.WriteLine("Isn't it fantastic?"); }
public override void Touch(IScreenTouch screenTouch) { //here logic of touch can be added }
private void Touch(IScreenTouch screenTouch) { TouchScreen.Touch(screenTouch); }
public override void Touch(IScreenTouch touchScreen) { Console.WriteLine($"This touch was made on {nameof(SurfaceAcousticWave)} screen"); Console.WriteLine("Isn't it fantastic?"); }
public abstract void Touch(IScreenTouch screenTouch);
public override void Touch(IScreenTouch touchScreen) { Console.WriteLine($"This touch was made on {nameof(Infrared)} screen"); Console.WriteLine("Isn't it fantastic?"); }
public abstract void Touch(IScreenTouch touchScreen);