C# Class X.CoreLib.Shared.Services.AppService

Show file Open project: liquidboy/X

Public Properties

Property Type Description
AppSetting AppWideSetting

Public Methods

Method Description
Init ( ) : void
InputBox ( string question, string yesLabel, string yesMessengerContent, string yesMessengerIdentifier, string noLabel, string noMessengerContent, string noMessengerIdentifier, string metroIcon = "Information", double translateXIcon = -20, double translateYIcon = -20, double scaleIcon = 2, GeneralSystemWideMessage msgToPassAlong = null, string imageIcon = "" ) : void
IsConnected ( ) : bool
MessageBox ( string question, string yesLabel, string yesMessengerContent, string yesMessengerIdentifier, string noLabel, string noMessengerContent, string noMessengerIdentifier, string metroIcon = "Information", double translateXIcon = -20, double translateYIcon = -20, double scaleIcon = 2, GeneralSystemWideMessage msgToPassAlong = null, string imageIcon = "" ) : void
SendInformationNotification ( string msg, double duration, string imageIcon = "" ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
GetSettingsLocalAndCloud ( ) : System.Threading.Tasks.Task
NetworkInformation_NetworkStatusChanged ( object sender ) : void

Method Details

Init() public static method

public static Init ( ) : void
return void

InputBox() public static method

public static InputBox ( string question, string yesLabel, string yesMessengerContent, string yesMessengerIdentifier, string noLabel, string noMessengerContent, string noMessengerIdentifier, string metroIcon = "Information", double translateXIcon = -20, double translateYIcon = -20, double scaleIcon = 2, GeneralSystemWideMessage msgToPassAlong = null, string imageIcon = "" ) : void
question string
yesLabel string
yesMessengerContent string
yesMessengerIdentifier string
noLabel string
noMessengerContent string
noMessengerIdentifier string
metroIcon string
translateXIcon double
translateYIcon double
scaleIcon double
msgToPassAlong GeneralSystemWideMessage
imageIcon string
return void

IsConnected() public static method

public static IsConnected ( ) : bool
return bool

MessageBox() public static method

public static MessageBox ( string question, string yesLabel, string yesMessengerContent, string yesMessengerIdentifier, string noLabel, string noMessengerContent, string noMessengerIdentifier, string metroIcon = "Information", double translateXIcon = -20, double translateYIcon = -20, double scaleIcon = 2, GeneralSystemWideMessage msgToPassAlong = null, string imageIcon = "" ) : void
question string
yesLabel string
yesMessengerContent string
yesMessengerIdentifier string
noLabel string
noMessengerContent string
noMessengerIdentifier string
metroIcon string
translateXIcon double
translateYIcon double
scaleIcon double
msgToPassAlong GeneralSystemWideMessage
imageIcon string
return void

SendInformationNotification() public static method

public static SendInformationNotification ( string msg, double duration, string imageIcon = "" ) : void
msg string
duration double
imageIcon string
return void

Start() public static method

public static Start ( ) : void
return void

Stop() public static method

public static Stop ( ) : void
return void

Property Details

AppSetting public static property

public static AppWideSetting,X.CoreLib.Shared.Services AppSetting
return AppWideSetting