SilverlightMappingToolBasic.RelatedContentPanelUtil.IsYammerAvailable C# (CSharp) Method

IsYammerAvailable() public method

This returns whether or not the Yammer Embed API is available in the currently used page-layout/master-page combination. Note: It is meant to be called where no map is loaded yet in the Management Console and allows setting up of Yammer properties. There is a more thorough test of if a particular root map has Yammer available that is done when a map is loaded, that exists in the RelatedContentPanels logic.
public IsYammerAvailable ( ) : bool
return bool
        public bool IsYammerAvailable()
        {
            bool isAvailable = false;
            if (HasRelatedContentPanel)
            {
                object result = HtmlPage.Window.Invoke("IsYammerAvailable");
                isAvailable = (bool)result;
            }
            return isAvailable;
        }