Click here to Skip to main content
15,394,025 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
BillWoodruff23-Jul-16 22:03
mveBillWoodruff23-Jul-16 22:03 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
Richard MacCutchan24-Jul-16 1:31
mveRichard MacCutchan24-Jul-16 1:31 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
BillWoodruff24-Jul-16 2:59
mveBillWoodruff24-Jul-16 2:59 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
Richard MacCutchan24-Jul-16 4:28
mveRichard MacCutchan24-Jul-16 4:28 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
Richard Deeming24-Jul-16 22:15
mveRichard Deeming24-Jul-16 22:15 
AnswerRe: What is the correct code to invoke subscribers for an event? Pin
Pete O'Hanlon23-Jul-16 23:43
mvaPete O'Hanlon23-Jul-16 23:43 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
User 1106097923-Jul-16 23:53
MemberUser 1106097923-Jul-16 23:53 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
Pete O'Hanlon24-Jul-16 5:51
mvaPete O'Hanlon24-Jul-16 5:51 
It's not the unsubscribed side that is the problem. If you think about it from the point of view of why you test the event in the first place, it gives you the hint that you could end with functionally identical code between not testing the subscription and throwing an exception because nothing is listening to the event and testing it and throwing an exception because you have ended up in a situation where nothing is listening to the event.
This space for rent

GeneralRe: What is the correct code to invoke subscribers for an event? Pin
BillWoodruff24-Jul-16 23:04
mveBillWoodruff24-Jul-16 23:04 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
Richard Deeming25-Jul-16 0:05
mveRichard Deeming25-Jul-16 0:05 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
User 1106097925-Jul-16 0:30
MemberUser 1106097925-Jul-16 0:30 
SuggestionRe: What is the correct code to invoke subscribers for an event? Pin
Maarten197725-Jul-16 3:16
MemberMaarten197725-Jul-16 3:16 
GeneralRe: What is the correct code to invoke subscribers for an event? Pin
User 1106097925-Jul-16 3:58
MemberUser 1106097925-Jul-16 3:58 
QuestionTime of action in [Date] [Time] [Action] Pin
mmiklauz23-Jul-16 10:01
Membermmiklauz23-Jul-16 10:01 
AnswerRe: Time of action in [Date] [Time] [Action] Pin
Mycroft Holmes23-Jul-16 14:20
professionalMycroft Holmes23-Jul-16 14:20 
AnswerRe: Time of action in [Date] [Time] [Action] Pin
BillWoodruff23-Jul-16 15:41
mveBillWoodruff23-Jul-16 15:41 
QuestionSave Physical File using MySQL Pin
Jassim Rahma22-Jul-16 23:29
MemberJassim Rahma22-Jul-16 23:29 
AnswerRe: Save Physical File using MySQL Pin
OriginalGriff23-Jul-16 0:31
mveOriginalGriff23-Jul-16 0:31 
GeneralRe: Save Physical File using MySQL Pin
Jassim Rahma23-Jul-16 7:19
MemberJassim Rahma23-Jul-16 7:19 
GeneralRe: Save Physical File using MySQL Pin
Pete O'Hanlon23-Jul-16 7:49
mvaPete O'Hanlon23-Jul-16 7:49 
GeneralRe: Save Physical File using MySQL Pin
Mycroft Holmes23-Jul-16 14:25
professionalMycroft Holmes23-Jul-16 14:25 
QuestionHow to send Images in notification in Android using C#! Pin
Member 1158380322-Jul-16 3:23
MemberMember 1158380322-Jul-16 3:23 
AnswerRe: How to send Images in notification in Android using C#! Pin
Ravi Bhavnani25-Jul-16 5:40
professionalRavi Bhavnani25-Jul-16 5:40 
Questionx86 and x64 in one project Pin
po_saa21-Jul-16 21:33
Memberpo_saa21-Jul-16 21:33 
AnswerRe: x86 and x64 in one project Pin
Rob Philpott21-Jul-16 21:46
MemberRob Philpott21-Jul-16 21:46 

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.