Singleton
تاکنموونە
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A in which a class has exactly one object for the whole app, and everyone uses that same object. A lazy singleton is created only the first time it is needed.
کە تێیدا تەنها یەک هەیە بۆ هەموو ئەپەکە و هەمووان هەمان ئۆبجێکت بەکار دەهێنن. جۆری دواخراوی (lazy) تەنها یەکەمجار کە پێویست بوو دروست دەکرێت.
Exampleنموونە
registerLazySingleton in get_it makes one TodoService the first time a screen asks for it, then gives the same one to every screen.
registerLazySingleton لە get_itـدا یەکەمجار کە شاشەیەک داوای TodoService بکات یەکێک دروست دەکات، پاشان هەمان دانە دەداتە هەموو شاشەکان.
Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
تاکنموونەکە، تاکنموونەکان، تاکنموونەیەک، تاکنموونەی، تاکنموونەکانی، تاکنموونەیەکی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Proposed: تاک ('single') + نموونە ('instance', as in the registry's db-instance).