Autor Beitrag
Csharp-programmierer Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 696
Erhaltene Danke: 10

Windows 8.1
C# (VS 2013)
BeitragVerfasst: So 20.12.15 23:21 
Also den Singelton rufe ich nun so auf: Settings.Default.pSnippets

Wie ich es jetzt verstanden habe, nimmt man ein Singelton, wenn man ein Objekt nur einmal instanzieren möchte, aber trotzdem von allen Objekten darauf zugreifen will, oder?
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: So 20.12.15 23:35 
Zitat:
Wie ich es jetzt verstanden habe, nimmt man ein Singelton, wenn man ein Objekt nur einmal instanzieren möchte, aber trotzdem von allen Objekten darauf zugreifen will, oder?


So stehts auch ungefähr im Wiki, ja ;)