mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2026-11-11 04:56:44 +00:00
Fixed some code-issues
This commit is contained in:
1 parent
8523a4ddb3
commit
925e02f146
31 files changed
+223
-16
No files matched your search
@@ -6,7 +6,7 @@ using System;
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the information supplied with an Exception-event.
|
||||
/// Represents the information supplied with an <see cref="ICueDevice.Exception"/>-event.
|
||||
/// </summary>
|
||||
public class ExceptionEventArgs : System.EventArgs
|
||||
{
|
||||
|
||||
@@ -5,16 +5,26 @@ using System.Collections.Generic;
|
||||
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the information supplied with an <see cref="ICueDevice.LedsUpdated"/>-event.
|
||||
/// </summary>
|
||||
public class LedsUpdatedEventArgs : System.EventArgs
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets a list of <see cref="LedUpateRequest"/> from the updated leds.
|
||||
/// </summary>
|
||||
public IEnumerable<LedUpateRequest> UpdatedLeds { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LedsUpdatedEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="updatedLeds">The updated leds.</param>
|
||||
public LedsUpdatedEventArgs(IEnumerable<LedUpateRequest> updatedLeds)
|
||||
{
|
||||
this.UpdatedLeds = updatedLeds;
|
||||
|
||||
@@ -5,16 +5,26 @@ using System.Collections.Generic;
|
||||
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the information supplied with an <see cref="ICueDevice.LedsUpdating"/>-event.
|
||||
/// </summary>
|
||||
public class LedsUpdatingEventArgs : System.EventArgs
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets a list of <see cref="LedUpateRequest"/> from the updating leds.
|
||||
/// </summary>
|
||||
public ICollection<LedUpateRequest> UpdatingLeds { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="LedsUpdatingEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="updatingLeds">The updating leds.</param>
|
||||
public LedsUpdatingEventArgs(ICollection<LedUpateRequest> updatingLeds)
|
||||
{
|
||||
this.UpdatingLeds = updatingLeds;
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the information supplied with an <see cref="ICueDevice.Updated"/>-event.
|
||||
/// </summary>
|
||||
public class UpdatedEventArgs : System.EventArgs
|
||||
{ }
|
||||
}
|
||||
@@ -3,16 +3,26 @@
|
||||
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the information supplied with an <see cref="ICueDevice.Updating"/>-event.
|
||||
/// </summary>
|
||||
public class UpdatingEventArgs : System.EventArgs
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Gets the elapsed time (in seconds) sonce the last update.
|
||||
/// </summary>
|
||||
public float DeltaTime { get; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UpdatingEventArgs"/> class.
|
||||
/// </summary>
|
||||
/// <param name="deltaTime">The elapsed time (in seconds) sonce the last update.</param>
|
||||
public UpdatingEventArgs(float deltaTime)
|
||||
{
|
||||
this.DeltaTime = deltaTime;
|
||||
|
||||
Reference in new issue
Block a user