Пример #1
0
 public Task ClickAsync(float x, float y, MouseButton button, int?clickCount, float?delay)
 => _channel.MouseClickAsync(x, y, delay ?? 0, button.EnsureDefaultValue(MouseButton.Left), clickCount ?? 1);
Пример #2
0
 public Task ClickAsync(decimal x, decimal y, int delay = 0, MouseButton button = MouseButton.Left, int clickCount = 1)
 => _channel.MouseClickAsync(x, y, delay, button, clickCount);
Пример #3
0
 public Task ClickAsync(float x, float y, MouseClickOptions options = default)
 => _channel.MouseClickAsync(x, y, delay: options?.Delay, button: options?.Button, clickCount: options?.ClickCount);