Click here to Skip to main content
15,912,837 members
Home / Discussions / C#
   

C#

 
GeneralRe: Need Some suggection on E-Mail Marketing Software Pin
OriginalGriff13-Jan-15 1:42
mveOriginalGriff13-Jan-15 1:42 
AnswerRe: Need Some suggection on E-Mail Marketing Software Pin
Chris Quinn13-Jan-15 2:30
Chris Quinn13-Jan-15 2:30 
QuestionPassing Array of custom objects as an attribute to a custom object in ODP.Net Pin
Member 960130912-Jan-15 19:55
Member 960130912-Jan-15 19:55 
QuestionHow to get a list of all drive letters including mapped network drives Pin
robwm112-Jan-15 9:28
robwm112-Jan-15 9:28 
AnswerRe: How to get a list of all drive letters including mapped network drives Pin
OriginalGriff12-Jan-15 21:57
mveOriginalGriff12-Jan-15 21:57 
GeneralRe: How to get a list of all drive letters including mapped network drives Pin
robwm113-Jan-15 5:04
robwm113-Jan-15 5:04 
GeneralRe: How to get a list of all drive letters including mapped network drives Pin
OriginalGriff13-Jan-15 5:06
mveOriginalGriff13-Jan-15 5:06 
GeneralRe: How to get a list of all drive letters including mapped network drives Pin
robwm113-Jan-15 8:25
robwm113-Jan-15 8:25 
GeneralRe: How to get a list of all drive letters including mapped network drives Pin
OriginalGriff13-Jan-15 8:37
mveOriginalGriff13-Jan-15 8:37 
QuestionHow to plot data into the graph which is receive from com port Pin
Member 1129798112-Jan-15 3:40
Member 1129798112-Jan-15 3:40 
AnswerRe: How to plot data into the graph which is receive from com port Pin
Afzaal Ahmad Zeeshan12-Jan-15 4:24
professionalAfzaal Ahmad Zeeshan12-Jan-15 4:24 
AnswerRe: How to plot data into the graph which is receive from com port Pin
V.12-Jan-15 21:12
professionalV.12-Jan-15 21:12 
QuestionStatic constructor? Pin
TMattC11-Jan-15 20:41
TMattC11-Jan-15 20:41 
AnswerRe: Static constructor? Pin
V.11-Jan-15 20:52
professionalV.11-Jan-15 20:52 
GeneralRe: Static constructor? Pin
TMattC11-Jan-15 21:07
TMattC11-Jan-15 21:07 
GeneralRe: Static constructor? Pin
V.11-Jan-15 21:17
professionalV.11-Jan-15 21:17 
GeneralRe: Static constructor? Pin
OriginalGriff11-Jan-15 21:18
mveOriginalGriff11-Jan-15 21:18 
GeneralRe: Static constructor? Pin
V.11-Jan-15 21:22
professionalV.11-Jan-15 21:22 
GeneralRe: Static constructor? Pin
OriginalGriff11-Jan-15 21:27
mveOriginalGriff11-Jan-15 21:27 
AnswerRe: Static constructor? Pin
OriginalGriff11-Jan-15 21:17
mveOriginalGriff11-Jan-15 21:17 
AnswerRe: Static constructor? Pin
Dar Brett11-Jan-15 21:27
Dar Brett11-Jan-15 21:27 
GeneralRe: Static constructor? Pin
TMattC11-Jan-15 22:33
TMattC11-Jan-15 22:33 
A config file would work, of course, but the value wont ever change between compilations. It seems more streamlined to just set it via the constructor when creating the package factory class. Then the factory class will pass it to the package instances.

I guess a static boolean would work, just thought there would be a more slick way to do it (I actually have more than one of those "constants").

Maybe I just skip the static part. Feels like a defeat though.
GeneralRe: Static constructor? Pin
OriginalGriff11-Jan-15 22:58
mveOriginalGriff11-Jan-15 22:58 
GeneralRe: Static constructor? Pin
TMattC11-Jan-15 23:39
TMattC11-Jan-15 23:39 
GeneralRe: Static constructor? Pin
OriginalGriff11-Jan-15 23:46
mveOriginalGriff11-Jan-15 23: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.