Click here to Skip to main content
15,894,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: Access Db in DataGridView Pin
Dave Kreskowiak13-Jan-19 12:03
mveDave Kreskowiak13-Jan-19 12:03 
GeneralRe: Access Db in DataGridView Pin
User 1367511413-Jan-19 22:24
User 1367511413-Jan-19 22:24 
GeneralRe: Access Db in DataGridView Pin
Dave Kreskowiak14-Jan-19 2:46
mveDave Kreskowiak14-Jan-19 2:46 
AnswerRe: Access Db in DataGridView Pin
OriginalGriff13-Jan-19 22:15
mveOriginalGriff13-Jan-19 22:15 
QuestionFind Subnet Mask Pin
Richard Andrew x6412-Jan-19 8:50
professionalRichard Andrew x6412-Jan-19 8:50 
AnswerRe: Find Subnet Mask Pin
Luc Pattyn12-Jan-19 16:35
sitebuilderLuc Pattyn12-Jan-19 16:35 
GeneralRe: Find Subnet Mask Pin
Richard Andrew x6413-Jan-19 4:22
professionalRichard Andrew x6413-Jan-19 4:22 
Questionimport data Pin
Member 1358870012-Jan-19 3:15
Member 1358870012-Jan-19 3:15 
AnswerRe: import data Pin
Richard MacCutchan12-Jan-19 3:37
mveRichard MacCutchan12-Jan-19 3:37 
AnswerRe: import data Pin
Victor Nijegorodov12-Jan-19 5:01
Victor Nijegorodov12-Jan-19 5:01 
AnswerRe: import data Pin
OriginalGriff12-Jan-19 5:30
mveOriginalGriff12-Jan-19 5:30 
AnswerRe: import data Pin
mtoha13-Jan-19 17:44
professionalmtoha13-Jan-19 17:44 
QuestionSmtpclient "One of the streams has already been used and can't be reset to the origin." Pin
jkirkerx10-Jan-19 11:49
professionaljkirkerx10-Jan-19 11:49 
AnswerRe: Smtpclient "One of the streams has already been used and can't be reset to the origin." Pin
jkirkerx10-Jan-19 11:57
professionaljkirkerx10-Jan-19 11:57 
SuggestionRe: Smtpclient "One of the streams has already been used and can't be reset to the origin." Pin
Richard Deeming11-Jan-19 1:50
mveRichard Deeming11-Jan-19 1:50 
GeneralRe: Smtpclient "One of the streams has already been used and can't be reset to the origin." Pin
jkirkerx13-Jan-19 9:30
professionaljkirkerx13-Jan-19 9:30 
QuestionC# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx7-Jan-19 12:54
professionaljkirkerx7-Jan-19 12:54 
AnswerRe: C# Winforms, Pass a button click to a user control on the form. Pin
Dave Kreskowiak7-Jan-19 16:43
mveDave Kreskowiak7-Jan-19 16:43 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 6:29
professionaljkirkerx8-Jan-19 6:29 
AnswerRe: C# Winforms, Pass a button click to a user control on the form. Pin
OriginalGriff7-Jan-19 20:24
mveOriginalGriff7-Jan-19 20:24 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 6:33
professionaljkirkerx8-Jan-19 6:33 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
OriginalGriff8-Jan-19 6:47
mveOriginalGriff8-Jan-19 6:47 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 7:21
professionaljkirkerx8-Jan-19 7:21 
QuestionMEF Question Pin
Kevin Marois7-Jan-19 11:48
professionalKevin Marois7-Jan-19 11:48 
Currently I'm loading plugins like this
private void LoadPlugins()
{
    var pluginPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
    var directoryCatalog = new DirectoryCatalog(pluginPath);
    var container = new CompositionContainer(directoryCatalog);
    // Problem: This syntax required the interface to be compiled into this app
    var plugins = container.GetExportedValues<ISomeInterface>();    
}

As the comment says, the interface is required to be compiled into this app.

Is there a way to load MEF plugins without the host app knowing about the interface?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: MEF Question Pin
Mycroft Holmes7-Jan-19 14:32
professionalMycroft Holmes7-Jan-19 14:32 

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.