Skip to content

mswietlicki/SingletonPrototype

Repository files navigation

SingletonPrototype

This is simple inheritable C# singleton implementation.

Take a closer look at SingletonBase and the fact that static property instance is created 1 for every inheriting type (So there is more then 1 static instance of DummyNested.INSTANCE).

Developers

Mateusz Świetlicki http://mateusz.swietlicki.net

Copyright and license

Use it however you like :)

About

Inheritable C# singleton implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages