Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
AnswerRe: Getting COM port list ? Pin
Ralf Meier23-Mar-17 1:26
mveRalf Meier23-Mar-17 1:26 
AnswerRe: Getting COM port list ? Pin
Gerry Schmitz23-Mar-17 17:51
mveGerry Schmitz23-Mar-17 17:51 
QuestionDCMTK help needed Pin
Tetsuo_DarkK21-Mar-17 4:49
Tetsuo_DarkK21-Mar-17 4:49 
AnswerRe: DCMTK help needed Pin
Richard MacCutchan21-Mar-17 4:56
mveRichard MacCutchan21-Mar-17 4:56 
QuestionQuick MEF Question Pin
Kevin Marois20-Mar-17 7:04
professionalKevin Marois20-Mar-17 7:04 
AnswerRe: Quick MEF Question Pin
Richard MacCutchan20-Mar-17 23:02
mveRichard MacCutchan20-Mar-17 23:02 
GeneralRe: Quick MEF Question Pin
Kevin Marois21-Mar-17 4:03
professionalKevin Marois21-Mar-17 4:03 
AnswerRe: Quick MEF Question Pin
Nathan Minier21-Mar-17 1:18
professionalNathan Minier21-Mar-17 1:18 
You could use MEF as a DI-driven stand-in for the factory pattern in a lot of scenarios using class-level composition.

You could inject properties and methods that are appropriate for the current application composition (Such as "I'm using YAML in this app instead of XML for configuration, let's inject a method to handle that").

Using shared parts, you could provide application-wide access to a variable without exposing the parent object.

That's off the top of the head.
"There are three kinds of lies: lies, damned lies and statistics."
- Benjamin Disraeli

AnswerRe: Quick MEF Question Pin
Pete O'Hanlon21-Mar-17 4:31
mvePete O'Hanlon21-Mar-17 4:31 
QuestionJSON/C# Pin
Member 1306898319-Mar-17 1:01
Member 1306898319-Mar-17 1:01 
AnswerRe: JSON/C# Pin
OriginalGriff19-Mar-17 1:23
mveOriginalGriff19-Mar-17 1:23 
AnswerRe: JSON/C# Pin
John C Rayan21-Mar-17 22:56
professionalJohn C Rayan21-Mar-17 22:56 
QuestionImporting data from textfile to datagridview by c# Pin
Member 1260914418-Mar-17 13:38
Member 1260914418-Mar-17 13:38 
AnswerRe: Importing data from textfile to datagridview by c# Pin
Dave Kreskowiak18-Mar-17 16:01
mveDave Kreskowiak18-Mar-17 16:01 
AnswerRe: Importing data from textfile to datagridview by c# Pin
Pete O'Hanlon18-Mar-17 22:26
mvePete O'Hanlon18-Mar-17 22:26 
AnswerRe: Importing data from textfile to datagridview by c# Pin
User 418025420-Mar-17 9:23
User 418025420-Mar-17 9:23 
AnswerRe: Importing data from textfile to datagridview by c# Pin
khanhsk26-Mar-17 3:56
khanhsk26-Mar-17 3:56 
Questionforeach and Regex Pin
Member 1306667718-Mar-17 2:32
Member 1306667718-Mar-17 2:32 
AnswerRe: foreach and Regex Pin
OriginalGriff18-Mar-17 2:43
mveOriginalGriff18-Mar-17 2:43 
QuestionRun MEF Plugin In Thread Pin
Kevin Marois17-Mar-17 4:57
professionalKevin Marois17-Mar-17 4:57 
AnswerRe: Run MEF Plugin In Thread Pin
Nathan Minier21-Mar-17 1:30
professionalNathan Minier21-Mar-17 1:30 
QuestionHow to get object value in c# mvc? Pin
Sathiya moorthi17-Mar-17 1:02
Sathiya moorthi17-Mar-17 1:02 
AnswerRe: How to get object value in c# mvc? Pin
Nathan Minier17-Mar-17 2:28
professionalNathan Minier17-Mar-17 2:28 
Questionstring interpolation with dynamic content Pin
Bernhard Hiller16-Mar-17 1:18
Bernhard Hiller16-Mar-17 1:18 
AnswerRe: string interpolation with dynamic content Pin
OriginalGriff16-Mar-17 1:58
mveOriginalGriff16-Mar-17 1:58 

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.