Code style - Use file scoped namespaces

Code style - Ran code cleanup
This commit is contained in:
Robert committed 2022-08-21 11:36:15 +02:00
1 parent e68e16df4d
commit f6090dc296
691 files changed
+37301 -38119

No files matched your search

@@ -1,37 +1,36 @@
using System;
namespace Artemis.Core.Services
namespace Artemis.Core.Services;
/// <summary>
/// Contains data for input provider mouse button events
/// </summary>
public class InputProviderMouseButtonEventArgs : EventArgs
{
/// <summary>
/// Contains data for input provider mouse button events
/// </summary>
public class InputProviderMouseButtonEventArgs : EventArgs
/// <param name="device">The device that triggered the event</param>
/// <param name="button">The button that triggered the event</param>
/// <param name="isDown">Whether the button is pressed down</param>
public InputProviderMouseButtonEventArgs(ArtemisDevice? device, MouseButton button, bool isDown)
{
/// <summary>
/// </summary>
/// <param name="device">The device that triggered the event</param>
/// <param name="button">The button that triggered the event</param>
/// <param name="isDown">Whether the button is pressed down</param>
public InputProviderMouseButtonEventArgs(ArtemisDevice? device, MouseButton button, bool isDown)
{
Device = device;
Button = button;
IsDown = isDown;
}
/// <summary>
/// Gets the device that triggered the event
/// </summary>
public ArtemisDevice? Device { get; }
/// <summary>
/// Gets the button that triggered the event
/// </summary>
public MouseButton Button { get; }
/// <summary>
/// Gets whether the button is pressed down
/// </summary>
public bool IsDown { get; }
Device = device;
Button = button;
IsDown = isDown;
}
/// <summary>
/// Gets the device that triggered the event
/// </summary>
public ArtemisDevice? Device { get; }
/// <summary>
/// Gets the button that triggered the event
/// </summary>
public MouseButton Button { get; }
/// <summary>
/// Gets whether the button is pressed down
/// </summary>
public bool IsDown { get; }
}