feat(Documents) Notes/Docs page improvements and warning cleanup

This commit is contained in:
2022-04-07 13:30:00 -04:00
parent b270453030
commit d82e60efdf
223 changed files with 4396 additions and 2861 deletions
+4 -4
View File
@@ -3,11 +3,11 @@
public class TimingService : ITimingService {
private int _timing = 360;
public void Subscribe(Action action) {
public void Subscribe(Action? action) {
_onChange += action;
}
public void Unsubscribe(Action action) {
public void Unsubscribe(Action? action) {
_onChange -= action;
}
@@ -22,13 +22,13 @@ public class TimingService : ITimingService {
}
}
private event Action _onChange;
private event Action? _onChange;
private void NotifyDataChanged() {
_onChange?.Invoke();
}
public Action OnChange() {
public Action? OnChange() {
return _onChange;
}
}