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
+5 -5
View File
@@ -1,5 +1,5 @@
using System.ComponentModel.DataAnnotations;
using DataType = Model.Immortal.Entity.Data.DataType;
using DataType = Model.Entity.Data.DataType;
namespace Services.Website;
@@ -10,18 +10,18 @@ public class EntityDialogService : IEntityDialogService
private List<string> history = new List<string>();
private event Action _onChange;
private event Action OnChange = null!;
private void NotifyDataChanged() {
_onChange?.Invoke();
OnChange?.Invoke();
}
public void Subscribe(Action action) {
_onChange += action;
OnChange += action;
}
public void Unsubscribe(Action action) {
_onChange += action;
OnChange += action;
}
public void AddDialog(string id)