<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Tech Off - Using MEF with multiple user defined file extensions</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Tech Off - Using MEF with multiple user defined file extensions</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Fri, 24 May 2013 07:15:52 GMT</pubDate>
	<lastBuildDate>Fri, 24 May 2013 07:15:52 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>3</c9:totalResults>
	<c9:pageCount>-3</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Tech Off - Using MEF with multiple user defined file extensions</title>
		<description><![CDATA[<p>Hallo,&nbsp;</p><p>I am trying to implement syntax highlighting, intellisense etc. for a specialized language and I was hoping to use MEF. However since this heavily relies on providing a file extension at compile time and one requirement is that this extensions should apply to many different file extensions.. E.g. .atm, .bar, .foo ..&nbsp;</p><p>There seems to be no documentation whatsoever on the net. The only success I had was by reverese engineering IronPython tools..&nbsp;</p><p>Thanks for any pointers..</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Using-MEF-with-multiple-user-defined-file-extensions/97686d0a41634068ab23a0ef017f8b31#97686d0a41634068ab23a0ef017f8b31</link>
		<pubDate>Fri, 19 Oct 2012 23:16:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Using-MEF-with-multiple-user-defined-file-extensions/97686d0a41634068ab23a0ef017f8b31#97686d0a41634068ab23a0ef017f8b31</guid>
		<dc:creator>StefanosAnastasiou</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/StefanosAnastasiou/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Using MEF with multiple user defined file extensions</title>
		<description><![CDATA[<p>Not sure I understand you're question -- MEF loads DLL files (executable libraries). &nbsp;MEF will load&nbsp;<em>all</em> DLLs in a given directory that have an interface marked as exported.</p><p>If you're using MEF for syntax rules, I would expect you to have several DLLs in the same directory (one for each language supported), all exporting the same interface. &nbsp;At runtime you use MEF to get a list of all the instances if found of that interface and then use the interface to interrogate each instance to see if it support the current language.</p><p>From that point on you perform all syntax rules through that interface, using polymorphism to gloss over the fact that you don't know which specific instance you're using.</p><p>Herbie</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Using-MEF-with-multiple-user-defined-file-extensions/9a07f56bfa5f4f5b8ef8a0f1009e18c7#9a07f56bfa5f4f5b8ef8a0f1009e18c7</link>
		<pubDate>Sun, 21 Oct 2012 09:35:36 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Using-MEF-with-multiple-user-defined-file-extensions/9a07f56bfa5f4f5b8ef8a0f1009e18c7#9a07f56bfa5f4f5b8ef8a0f1009e18c7</guid>
		<dc:creator>Herbie Smith</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Dr Herbie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Tech Off - Using MEF with multiple user defined file extensions</title>
		<description><![CDATA[<p>Hi Herbie,</p><p>thanks for the answer.&nbsp;</p><p>I am referring to this :&nbsp;</p><p><a href="http://msdn.microsoft.com/en-us/library/ee372313.aspx">http&#58;&#47;&#47;msdn.microsoft.com&#47;en-us&#47;library&#47;ee372313.aspx</a></p><p>As fas as I understand, each content type can only be export for one, or more file extensions statically at compile time.&nbsp;</p><p>How do I export content types dynamically based on some user options for example? Is this not possible purely by MEF?</p><p>Thanks!</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/Using-MEF-with-multiple-user-defined-file-extensions/9515d52315c34394a990a12800b7ef0f#9515d52315c34394a990a12800b7ef0f</link>
		<pubDate>Sat, 15 Dec 2012 11:09:40 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/Using-MEF-with-multiple-user-defined-file-extensions/9515d52315c34394a990a12800b7ef0f#9515d52315c34394a990a12800b7ef0f</guid>
		<dc:creator>StefanosAnastasiou</dc:creator>
		<slash:comments>3</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/StefanosAnastasiou/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>