Show / Hide Table of Contents

Class Dispository

Dispository (Disposable Repository) used for objects with IDisposable interface which won't be disposed in usual way, because they are singletons in example. In shutdown logic you should call DisposeAll to proper dispose all registered objects.

Inheritance
System.Object
Dispository
Namespace: Eco.Core.Utils
Assembly: Eco.Core.dll
Syntax
public static class Dispository : Object

Methods

AutoDispose(IDisposable)

Declaration
public static void AutoDispose(IDisposable disposable)
Parameters
Type Name Description
System.IDisposable disposable

DisposeAll()

Declaration
public static void DisposeAll()
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾