473,320 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Singleton Registries...

Hi,

I am trying to create a Singleton Registry, and have a pretty good idea of
how to approach it, but does anyone know where I could find some sample
code?

Many thanks
Colin B
Nov 16 '05 #1
2 1153
Hi,
I am not sure i understand your question correctly... Are you looking
for a code sample for implementing a singleton pattern?, if so check
this out.

http://www.yoda.arachsys.com/csharp/singleton.html

-Benny

Colin Basterfield wrote:
Hi,

I am trying to create a Singleton Registry, and have a pretty good idea of
how to approach it, but does anyone know where I could find some sample
code?

Many thanks
Colin B


Nov 16 '05 #2
Hi Benny,

Well sort of, but only as a way to implement a singleton as a Registry
object, a la Martin Fowler's Patterns of Enterprise Architecture, in the
Base Patterns section near the end.

Thanks, and I will look at the link you recommended.
Cheers
Colin B

"Benny Mathew" <be************@yahoo.com> wrote in message
news:Og**************@TK2MSFTNGP10.phx.gbl...
Hi,
I am not sure i understand your question correctly... Are you looking
for a code sample for implementing a singleton pattern?, if so check
this out.

http://www.yoda.arachsys.com/csharp/singleton.html

-Benny

Colin Basterfield wrote:
Hi,

I am trying to create a Singleton Registry, and have a pretty good idea of how to approach it, but does anyone know where I could find some sample
code?

Many thanks
Colin B

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alicia Roberts | last post by:
Hello everyone, I have been researching the Singleton Pattern. Since the singleton pattern uses a private constructor which in turn reduces extendability, if you make the Singleton Polymorphic...
5
by: Pelle Beckman | last post by:
Hi, I've done some progress in writing a rather simple singleton template. However, I need a smart way to pass constructor arguments via the template. I've been suggested reading "Modern C++...
3
weaknessforcats
by: weaknessforcats | last post by:
Design Pattern: The Singleton Overview Use the Singleton Design Pattern when you want to have only one instance of a class. This single instance must have a single global point of access. That...
5
Ali Rizwan
by: Ali Rizwan | last post by:
Hi all, I want to know that what the registry settings are, where they are saved etc.... And i also want to share my knowledge about registries that what which registry do??? Can i ???? Thanx
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.