Examples with "Singleton Classes" and their translation in Spaans
We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
Singletons are classes that are designed to have only one instance existing at a time in an application.
Las Singletons son clases que están diseñadas para tener solo una instancia existente al mismo tiempo en una aplicación.
They make your classes very hard to test, since you cannot separate them from a singleton easily.
Hacen que tus clases sean muy difíciles de probar, ya que no puedes separarlas de un singleton fácilmente.
The program defines an executable application Classes in form of a top-level singleton object with a main method.
El programa define una aplicación ejecutable a través del método main del objeto singleton Classes.
This way, when calling from another class to the method getInstance of the class ClaseSingleton, you get the same instance every time, this way variables and methods that have a singleton class can be reused from other classes.
De esta manera, al llamar desde otra clase al método getInstance de la clase ClaseSingleton, se obtiene la misma instancia cada vez, de esta manera las variables y métodos que pueda tener una clase singleton podemos reutilizarlas desde otras clases.
which shouldn't be too difficult to follow. The first block in both classes is used to create the Singleton pattern in a nice thread-safe C# way.
El primer bloque en ambas clases es usado para crear el patrón Singleton de forma que sea seguro de usar con threads (al menos según la solución encontrada en StackOverflow...).
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.