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; }