C# Класс SilverlightMappingToolBasic.RelatedContentPanelUtil

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
RelatedContentPanelUtil System

Открытые методы

Метод Описание
ClearRelatedMaps ( ) : void
InvokeAuthorContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
InvokeReaderContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
IsJavascriptLibraryLoaded ( ) : bool
IsYammerAvailable ( ) : bool

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.

LoadRelatedIframeContent ( string content, int width, int height ) : void
LoadRelatedNodeHtmlContent ( string content, int width, int height ) : void
LoadRelatedVideoContent ( string videoSourceUrl, VideoSize videoSize ) : void
MapLoadedCallback ( bool rootMapLoaded ) : void
ResetAndHidePanels ( ) : void
SetAuthorMode ( ) : void
SetReaderMode ( ) : void
ShowActivityFeeds ( ) : void
ShowRelatedMaps ( string relatedMapsJson ) : void

Приватные методы

Метод Описание
RelatedContentPanelUtil ( ) : System

Описание методов

ClearRelatedMaps() публичный Метод

public ClearRelatedMaps ( ) : void
Результат void

InvokeAuthorContextMenuCallback() публичный Метод

public InvokeAuthorContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
contextMenuItemName string
rootMap string
map string
node string
Результат void

InvokeReaderContextMenuCallback() публичный Метод

public InvokeReaderContextMenuCallback ( string contextMenuItemName, string rootMap, string map, string node ) : void
contextMenuItemName string
rootMap string
map string
node string
Результат void

IsJavascriptLibraryLoaded() публичный Метод

public IsJavascriptLibraryLoaded ( ) : bool
Результат bool

IsYammerAvailable() публичный Метод

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
Результат bool

LoadRelatedIframeContent() публичный Метод

public LoadRelatedIframeContent ( string content, int width, int height ) : void
content string
width int
height int
Результат void

LoadRelatedNodeHtmlContent() публичный Метод

public LoadRelatedNodeHtmlContent ( string content, int width, int height ) : void
content string
width int
height int
Результат void

LoadRelatedVideoContent() публичный Метод

public LoadRelatedVideoContent ( string videoSourceUrl, VideoSize videoSize ) : void
videoSourceUrl string
videoSize VideoSize
Результат void

MapLoadedCallback() публичный Метод

public MapLoadedCallback ( bool rootMapLoaded ) : void
rootMapLoaded bool
Результат void

ResetAndHidePanels() публичный Метод

public ResetAndHidePanels ( ) : void
Результат void

SetAuthorMode() публичный Метод

public SetAuthorMode ( ) : void
Результат void

SetReaderMode() публичный Метод

public SetReaderMode ( ) : void
Результат void

ShowActivityFeeds() публичный Метод

public ShowActivityFeeds ( ) : void
Результат void

ShowRelatedMaps() публичный Метод

public ShowRelatedMaps ( string relatedMapsJson ) : void
relatedMapsJson string
Результат void