mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-31 09:44:21 +00:00
Compare commits
No commits in common. "71f1115c3147326253728149d03d7d3c21083825" and "a26eaf9a9aad71f035a89752c81422b60bd8e59d" have entirely different histories.
71f1115c31
...
a26eaf9a9a
@ -29,13 +29,13 @@ public abstract class AbstractUpdateTrigger : AbstractBindable, IUpdateTrigger
|
|||||||
/// Invokes the <see cref="Starting"/>-event.
|
/// Invokes the <see cref="Starting"/>-event.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="updateData">Optional custom-data passed to the subscribers of the <see cref="Starting"/>.event.</param>
|
/// <param name="updateData">Optional custom-data passed to the subscribers of the <see cref="Starting"/>.event.</param>
|
||||||
protected virtual void OnStartup(CustomUpdateData? updateData = null) => Starting?.Invoke(this, updateData ?? CustomUpdateData.Empty);
|
protected virtual void OnStartup(CustomUpdateData? updateData = null) => Starting?.Invoke(this, updateData ?? new CustomUpdateData());
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Invokes the <see cref="Update"/>-event.
|
/// Invokes the <see cref="Update"/>-event.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="updateData">Optional custom-data passed to the subscribers of the <see cref="Update"/>.event.</param>
|
/// <param name="updateData">Optional custom-data passed to the subscribers of the <see cref="Update"/>.event.</param>
|
||||||
protected virtual void OnUpdate(CustomUpdateData? updateData = null) => Update?.Invoke(this, updateData ?? CustomUpdateData.Empty);
|
protected virtual void OnUpdate(CustomUpdateData? updateData = null) => Update?.Invoke(this, updateData ?? new CustomUpdateData());
|
||||||
|
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public abstract void Start();
|
public abstract void Start();
|
||||||
|
|||||||
@ -52,9 +52,6 @@ public sealed class CustomUpdateData : ICustomUpdateData
|
|||||||
{
|
{
|
||||||
#region Properties & Fields
|
#region Properties & Fields
|
||||||
|
|
||||||
// ReSharper disable once InconsistentNaming
|
|
||||||
public static readonly CustomUpdateData Empty = new();
|
|
||||||
|
|
||||||
private readonly Dictionary<string, object?> _data = [];
|
private readonly Dictionary<string, object?> _data = [];
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user