Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
QuestionLooking for a solution for combine WebService and jQuery (web app) Pin
goldsoft30-Oct-15 23:29
goldsoft30-Oct-15 23:29 
Answer[REPOST] Looking for a solution for combine WebService and jQuery (web app) Pin
Richard Deeming2-Nov-15 1:57
mveRichard Deeming2-Nov-15 1:57 
Questionwhy I can't install SQL Server Compact Database for SQL Server Management Studio ? Pin
Member 245846730-Oct-15 18:17
Member 245846730-Oct-15 18:17 
AnswerRe: why I can't install SQL Server Compact Database for SQL Server Management Studio ? Pin
John Torjo31-Oct-15 0:30
professionalJohn Torjo31-Oct-15 0:30 
AnswerRe: why I can't install SQL Server Compact Database for SQL Server Management Studio ? Pin
Eddy Vluggen31-Oct-15 1:21
professionalEddy Vluggen31-Oct-15 1:21 
QuestionTrying to design thread safe class Pin
Member 1206160030-Oct-15 10:18
Member 1206160030-Oct-15 10:18 
AnswerRe: Trying to design thread safe class Pin
BillWoodruff30-Oct-15 10:29
professionalBillWoodruff30-Oct-15 10:29 
GeneralRe: Trying to design thread safe class Pin
Member 1206160030-Oct-15 10:33
Member 1206160030-Oct-15 10:33 
thank you but

1) you can see I am passing parameters to init method - those singletons on Jon Skeets article don't mention Singletons where you can pass parameters during init
2) I need a deinit method - users should be able to clear the Parameter class object, and set new properties if desired, again using method like init for example - since properties I have deliberately made read only
3) Can you show me sample how to achieve this using singleton?

modified 30-Oct-15 17:14pm.

GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 0:29
professionalJohn Torjo31-Oct-15 0:29 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 0:43
Member 1206160031-Oct-15 0:43 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 7:40
professionalJohn Torjo31-Oct-15 7:40 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 7:56
Member 1206160031-Oct-15 7:56 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 7:57
professionalJohn Torjo31-Oct-15 7:57 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 7:58
Member 1206160031-Oct-15 7:58 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 9:40
professionalJohn Torjo31-Oct-15 9:40 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 9:47
Member 1206160031-Oct-15 9:47 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 9:51
professionalJohn Torjo31-Oct-15 9:51 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 10:24
Member 1206160031-Oct-15 10:24 
GeneralRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 11:10
professionalJohn Torjo31-Oct-15 11:10 
GeneralRe: Trying to design thread safe class Pin
Member 1206160031-Oct-15 14:25
Member 1206160031-Oct-15 14:25 
AnswerRe: Trying to design thread safe class Pin
John Torjo31-Oct-15 23:26
professionalJohn Torjo31-Oct-15 23:26 
GeneralRe: Trying to design thread safe class Pin
Member 120616001-Nov-15 0:23
Member 120616001-Nov-15 0:23 
GeneralRe: Trying to design thread safe class Pin
John Torjo1-Nov-15 2:21
professionalJohn Torjo1-Nov-15 2:21 
GeneralRe: Trying to design thread safe class Pin
Member 120616001-Nov-15 4:36
Member 120616001-Nov-15 4:36 
GeneralRe: Trying to design thread safe class Pin
John Torjo1-Nov-15 21:26
professionalJohn Torjo1-Nov-15 21:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.