Migrated Documentation library from NetFlow.DocumentationHelper.Library

This commit is contained in:
2026-01-28 13:15:44 +00:00
parent ab700413fb
commit d20a80c44c
152 changed files with 714 additions and 94 deletions
+11 -1
View File
@@ -1,7 +1,17 @@
using System;
using OmegaLeo.HelperLib.Shared.Attributes;
namespace GameDevLibrary.Models
namespace OmegaLeo.HelperLib.Models
{
[Serializable]
[Documentation("InstancedObject<T> Class", "A generic base class that ensures only one instance of a derived class exists at any time.", new string[] { "T: The type of the derived class." },
@"```cs
public class MySingleton : InstancedObject<MySingleton>
{
// Your class implementation here
}
```")]
[Changelog("1.2.0", "Fixed root namespace to OmegaLeo.HelperLib.Models.", "January 28, 2026")]
public abstract class InstancedObject<T> where T : class
{
public static T Instance { get; private set; }
+3 -2
View File
@@ -2,13 +2,14 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NetFlow.DocumentationHelper.Library.Attributes;
using OmegaLeo.HelperLib.Shared.Attributes;
namespace GameDevLibrary.Models
namespace OmegaLeo.HelperLib.Models
{
// Inspiration: https://www.youtube.com/watch?v=x-ejym1WdjE
[Serializable]
[Documentation("NeoDictionary", "Dictionary like class created to make it easier to display dictionaries in game engines like Unity")]
[Changelog("1.2.0", "Fixed root namespace to OmegaLeo.HelperLib.Models.", "January 28, 2026")]
public class NeoDictionary<TKey,TValue>
{
public List<NeoDictionaryItem<TKey, TValue>> Items = new List<NeoDictionaryItem<TKey, TValue>>();