<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>IWebContextualContentType Plugin Type</title><link>https://community.telligent.com/community/12/w/api-documentation/68307/iwebcontextualcontenttype-plugin-type</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>IWebContextualContentType Plugin Type</title><link>https://community.telligent.com/community/12/w/api-documentation/68307/iwebcontextualcontenttype-plugin-type</link><pubDate>Fri, 15 Jan 2021 19:29:19 GMT</pubDate><guid isPermaLink="false">0b1f398a-1d77-4d6b-b415-6698a5d91506</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/68307/iwebcontextualcontenttype-plugin-type#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 01/15/2021 19:29:19&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;This interface provides support for contextually identifying the current content given a web context.  It is used to support widgets that should only be shown when a content type is present on the page (i.e. the Blog Post widget only shows when a single blog post is in the context of the page).&lt;/p&gt;&lt;p&gt;&lt;code&gt;IWebContextualContentType&lt;/code&gt; is defined in the &lt;code&gt;Telligent.Evolution.Extensibility.Content.Version1&lt;/code&gt; namespace of Telligent.Evolution.Platform.dll&lt;/p&gt;&lt;div class="documentation-stub"&gt;&lt;h2&gt;Definition&lt;/h2&gt;&lt;pre&gt;interface IWebContextualContentType : [[IContentType Plugin Type|IContentType]], [[IPlugin Plugin Type|IPlugin]]
{
	[[IContent Plugin Supplementary Type|IContent]] GetCurrentContent([[IWebContext Plugin Supplementary Type|IWebContext]] context);
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="documentation-members methods"&gt;&lt;h2&gt;Methods&lt;/h2&gt;&lt;h3&gt;	IContent GetCurrentContent(IWebContext context);
&lt;/h3&gt;&lt;p&gt;Returns the content, if any, requested in the given context.  If the content type is not contextually identifiable, the method should return null.&lt;/p&gt;&lt;h4&gt;Parameters&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;context&lt;/td&gt;&lt;td&gt;&lt;code&gt;[[IWebContext Plugin Supplementary Type|IWebContext]]&lt;/code&gt;&lt;/td&gt;&lt;td&gt;Context&lt;/td&gt;&lt;td&gt;Required&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;Return Type&lt;/h4&gt;&lt;p&gt;&lt;code&gt;[[IContent Plugin Supplementary Type|IContent]]&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>