C# Class BlueSky.Services.XmlDashBoardService

Inheritance: IDashBoardService
Mostrar archivo Open project: BlueSkyStatistics/BlueSkyRepository

Public Methods

Method Description
Configure ( ) : void
GetDashBoardItems ( ) : List
SelectLocation ( string &newcommandname, string &AboveBelowSibling ) : string
SetElementLocaton ( string val, string Title, string commandFile, bool forcePlace, string AboveBelowSibling ) : bool?

Val is target parent location. Title is new command name.commandFile is the XAML filename.

Protected Methods

Method Description
OnAddDashBoardItem ( DashBoardItem item ) : bool

Private Methods

Method Description
CreateCommand ( UAMenuCommand cmd ) : ICommand
CreateItem ( XmlNode node ) : DashBoardItem
GetAttributeBool ( XmlNode nd, string name ) : bool
GetAttributeString ( XmlNode nd, string name ) : string
InitializeLocalMenu ( XmlDocument menuDocument ) : void

Method Details

Configure() public method

public Configure ( ) : void
return void

GetDashBoardItems() public method

public GetDashBoardItems ( ) : List
return List

OnAddDashBoardItem() protected method

protected OnAddDashBoardItem ( DashBoardItem item ) : bool
item BSky.Interfaces.DashBoard.DashBoardItem
return bool

SelectLocation() public method

public SelectLocation ( string &newcommandname, string &AboveBelowSibling ) : string
newcommandname string
AboveBelowSibling string
return string

SetElementLocaton() public method

Val is target parent location. Title is new command name.commandFile is the XAML filename.
public SetElementLocaton ( string val, string Title, string commandFile, bool forcePlace, string AboveBelowSibling ) : bool?
val string
Title string
commandFile string
forcePlace bool
AboveBelowSibling string
return bool?