Socially Distant OS
  • Docs
  • API
Search Results for

    Show / Hide Table of Contents
    • Ritchie.Toolbox
      • Color
      • ColorHelpers
      • GuiManager
      • GuiScaleMode
      • GuiSynchronizationContext
      • IGuiContext
      • ILayer
      • IOrderedCollection<T>
      • PopoverLayer
    • Ritchie.Toolbox.Accessibility
      • IAccessibleDescription
      • ISpeechHandler
      • NarratorSpeechHandler
      • SpeechDispatcherBackend
      • TextToSpeech
    • Ritchie.Toolbox.Animation
      • Animation
      • AnimationExtensions
      • AnimationWait
      • Animation<TValue>
      • Animator
      • ColorAnimation
      • CurveFunction
      • CurveFunctions
      • IAnimation
      • IAnimationHandle
      • IAnimationUpdateAction
      • InterpolationFunction<T>
      • NumberAnimation<TNumber>
      • Vector2Animation
      • Vector3Animation
      • Vector4Animation
    • Ritchie.Toolbox.Common
      • Emojis
      • InvalidationMode
      • Rounding
      • StateChange<T>
    • Ritchie.Toolbox.Core
      • LineGraph<TNumber>
      • RunAtLaunchAttribute
      • RunAtLaunchService
    • Ritchie.Toolbox.CustomProperties
      • CanvasAnchors
      • CustomPropertyObject
      • FlexPanelProperties
      • StructProperty<T>
    • Ritchie.Toolbox.Debugging
      • GuiDebugger
      • IInspectChild
      • IInspectable
      • IInspector
      • IInspectorCategory
      • INumberInput<TNumber>
      • IWidgetTreeRenderer
      • InspectorExtensions
    • Ritchie.Toolbox.Effects
      • IEffect
      • IWidgetEffect
    • Ritchie.Toolbox.Events
      • FocusEvent
      • GuiEvent
      • IDragEndHandler
      • IDragHandler
      • IDragStartHandler
      • IGainFocusHandler
      • IKeyCharHandler
      • IKeyDownHandler
      • IKeyUpHandler
      • ILoseFocusHandler
      • IMouseClickHandler
      • IMouseDownHandler
      • IMouseEnterHandler
      • IMouseHandler
      • IMouseLeaveHandler
      • IMouseMoveHandler
      • IMouseScrollHandler
      • IMouseUpHandler
      • IPreviewKeyCharHandler
      • IPreviewKeyDownHandler
      • IPreviewKeyUpHandler
      • IUpdateHandler
      • KeyCharEvent
      • KeyEvent
      • ModifierKeys
      • MouseButtonEvent
      • MouseEvent
      • MouseMoveEvent
      • MouseScrollEvent
    • Ritchie.Toolbox.Layout
      • ClippingMode
      • Direction
      • FlexMode
      • FontDescription
      • HorizontalAlignment
      • LayoutRect
      • NudgeDirection
      • Padding
      • TextAlignment
      • VerticalAlignment
      • Visibility
    • Ritchie.Toolbox.ListAdapters
      • DataHelper<T>
      • INotifyDataChanged
      • ListAdapter<TContainerWidget, TViewHolder>
      • RecyclableWidgetController
      • RecyclableWidgetList<TContainerWidget>
      • RecyclableWidgetList<TContainerWidget>.RecyclableViewHolder
      • RecycleBin
      • RecycleBin<T>
      • ViewHolder
    • Ritchie.Toolbox.Niceities.Completions
      • CompletionGraph
    • Ritchie.Toolbox.Popovers
      • PopoverContent
      • PopoverLocationPreference
      • PopoverText
      • PopoverWidget
    • Ritchie.Toolbox.Rendering
      • GeometryHelper
      • GuiMeshBuilder
      • GuiRenderer
      • Mesh
      • WidgetGeometry
    • Ritchie.Toolbox.Signals
      • ISignalHandler<TSignal>
      • SignalDirection
      • SignalEvent<TSignal>
    • Ritchie.Toolbox.TextRendering
      • Font
      • FontFamily
      • FontFamilyInfo
      • FontSizeMetric
      • FontWeight
      • IFontFamily
      • IFontFamilyProvider
      • PresetFontFamily
      • Typeface
      • Typeface.GlyphInfo
    • Ritchie.Toolbox.VisualStyles
      • DefaultWidgetBackgroundRenderer
      • IGetTextColor
      • IGetThemeProperties<TThemeProperties>
      • IUpdateThemeProperties
      • IVisualRenderer<TVisualProperties>
      • IVisualRenderer<TVisual, TVisualState>
      • IVisualStyle
      • IVisual<TVisualProperties>
      • IWidgetBackgroundRenderer
      • IWidgetRenderer<TWidget>
      • StyleManager
      • WidgetBag<T>
    • Ritchie.Toolbox.Widgets
      • Box
      • Button
      • Button.LayoutProperties
      • Button.VisualState
      • CanvasPanel
      • ContainerWidget
      • ContentWidget
      • DropdownButtonThemeProperties
      • DropdownButtonVisualState
      • DropdownItemView<TItemType>
      • DropdownItemVisualState
      • DropdownOverlayVisualState
      • DropdownStringView
      • Dropdown<TItemType, TView>
      • FlexPanel
      • IContainerWidget
      • IContentWidget
      • IDropdownButtonVisual
      • IImageLocator
      • Icon
      • Image
      • Label
      • LinkClickSignal
      • ListItem
      • ListItem.LayoutProperties
      • ListItem.VisualState
      • OverlayWidget
      • Popover
      • Popover.PopoverThemeProperties
      • Popover.PopoverVisualState
      • Pressable
      • PressableBox
      • ProgressBar
      • ProgressBar.LayoutrProperties
      • ProgressBar.VisualState
      • ScrollBar
      • ScrollBar.LayoutProperties
      • ScrollBar.VisualState
      • ScrollView
      • Slider
      • Slider.LayoutProperties
      • Slider.VisualState
      • StackPanel
      • StringDropdown
      • TablePanel
      • TextField
      • TextField.ThemeProperties
      • TextField.VisualState
      • TextTransform
      • TextWidget
      • TextWidget.ThemeProperties
      • Toggle
      • Toggle.LayoutProperties
      • Toggle.VisualState
      • Widget
      • Widget.BackgroundStyleProperties
      • WidgetTransform
      • WrapPanel
    • Ritchie.Toolbox.Widgets.CodeEditing
      • CodeEditor
      • CodeEditor.DrawElement
      • CodeEditor.ThemeProperties
      • CodeEditor.VisualState
    • SociallyDistant
      • SystemModule
    • SociallyDistant.Core
      • CollectionExtensions
      • Time
      • TimeData
    • SociallyDistant.Core.Audio
      • GuiSoundName
      • SoundScheme
      • SoundSchemeAttribute
    • SociallyDistant.Core.BuildTasks
      • MarkdownPreprocessorTask
      • SdshScriptCheckTask
    • SociallyDistant.Core.Chat
      • ChatScriptType
      • ChatStartType
      • IBranchDefinition
      • IChatConversation
      • IConversationController
      • ScriptConditionCheck
      • ScriptConditionMode
      • ScriptConditionType
    • SociallyDistant.Core.Config
      • IgnoreModdingLegalWaiverAttribute
    • SociallyDistant.Core.ContentManagement
      • ContentCollectionBuilder
      • ContentPipeline
      • DefaultScriptImporter
      • IContentFinder
      • IContentGenerator
      • IContentManager
      • IGameContent
      • IGameContentSource
      • ShebangAttribute
      • ShellScriptImporter
      • XnbContentIdentifier
    • SociallyDistant.Core.Core
      • ConsoleExtensions
      • CraftingIngredient
      • CraftingRecipe
      • CreateCallback<TDataElement>
      • DeleteCallback<TDataElement>
      • FileAssociation
      • FileAssociationAttribute
      • FileAssociationManager
      • GameMode
      • Gender
      • GlobalUtilities
      • ICachedScript
      • IDataObject<TDataElement>
      • IDataTable<TDataElement>
      • IDataWithId
      • IDebuggable
      • ILedger
      • INamedAsset
      • INarrativeObjectTable<TDataElement>
      • ISerializableDataObject<TDataElement, TRevision, TSerializer>
      • ISerializableDataTable<TDataElement, TRevision, TSerializer>
      • ISkillTree
      • IUnlockableAsset
      • IWorld
      • IWorldDataCallbacks
      • IWorldDataObject<TDataElement>
      • IWorldFlagCollection
      • IWorldManager
      • IWorldSection
      • IWorldTable<TDataElement>
      • IngredientRequirement
      • LogicalAccessLock
      • ModifyCallback<TDataElement>
      • ObjectId
      • PathUtility
      • PlayerLevelInfo
      • RecipeCategory
      • SharedReference<T>
      • ShellExtensions
      • Singleton<T>
      • SociallyDistantUtility
      • StringUtility
      • SystemVolume
      • VirtualConsole
      • WorldRevision
    • SociallyDistant.Core.Core.Config
      • CommonSettingsCategorySections
      • CommonSettingsSections
      • ISettingsManager
      • ISettingsPageBuilder
      • ISettingsPageContext
      • ISettingsUiBuilder
      • SettingsCategory
      • SettingsCategoryAttribute
      • SettingsFieldAttribute
      • SettingsFieldUiDefinition
      • SettingsType
    • SociallyDistant.Core.Core.Config.SystemConfigCategories
      • AccessibilitySettings
      • DeveloperSettings
      • GraphicsSettings
      • TextElementScale
      • UiSettings
    • SociallyDistant.Core.Core.Events
      • DeviceEvent
      • Event
      • EventBus
      • FileSystemEvent
      • FileSystemEventType
      • PlaySongEvent
      • PlaySoundEvent
      • ResourceEvent
      • WitnessEvent
      • WitnessType
    • SociallyDistant.Core.Core.Scripting
      • ArrayView<TElementType>
      • CommonScriptHooks
      • FileRedirectionType
      • FunctionAttribute
      • HookScript
      • HypervisorComputer
      • HypervisorFileSystem
      • HypervisorProcess
      • HypervisorUser
      • IArrayView<T>
      • ICommandHistoryProvider
      • ICommandShell
      • IHelpProvider
      • IHistoryCollection
      • IHookListener
      • IInteractiveShellContext
      • IScriptCommand
      • IScriptExecutionContext
      • IScriptFunction
      • IScriptSystem
      • ITerminalProcessController
      • InteractiveShell
      • OperatingSystemExecutionContext
      • ScriptCommandProvider
      • ScriptContextCommand
      • ScriptDelegate
      • ScriptDelegateFunction
      • ScriptEndException
      • ScriptExecutionContext
      • ScriptFunctionManager
      • ScriptModule
      • ScriptModuleManager
      • ScriptSystem
      • ShellParseOptions
      • ShellScriptAsset
      • ShellTester
      • ShellToken
      • ShellTokenType
      • ShellUtility
      • SimpleEnvironmentVariableProvider
      • StringView
      • UserScriptExecutionContext
      • WorldScriptCommands
    • SociallyDistant.Core.Core.Scripting.Consoles
      • FileOutputConsole
      • LineListConsole
      • RedirectedConsole
    • SociallyDistant.Core.Core.Scripting.GlobalCommands
      • ExecuteHookCommand
      • SaveGameCommand
      • WorldFlagCommand
    • SociallyDistant.Core.Core.Scripting.Instructions
      • AssignmentInstruction
      • BranchEvaluator
      • BranchInstruction
      • CommandData
      • CommandExpansion
      • CommandExpansionConsole
      • EmptyShellInstruction
      • ExpressionEvaluator
      • FunctionDeclaration
      • IArgumentEvaluator
      • LogicalAndInstruction
      • LogicalOrInstruction
      • ParallelInstruction
      • PipeConsole
      • PipeEntrance
      • PipeInstruction
      • SequentialInstruction
      • ShellCaseStatement
      • ShellInstruction
      • ShellPattern
      • SingleInstruction
      • VariableAccessEvaluator
      • WhileLoop
    • SociallyDistant.Core.Core.Scripting.Parsing
      • FunctionFrame
      • LegacyScriptParser
      • LocalScriptExecutionContext
      • ScriptFunction
      • ScriptParser
      • ScriptParser.TokenElement
      • TextArgumentEvaluator
    • SociallyDistant.Core.Core.Scripting.StandardModules
      • NpcModule
      • ShellHelpersModule
    • SociallyDistant.Core.Core.Serialization
      • IDataReader
      • IDataWriter
      • INarrativeObject
      • IRevisionComparer<TRevision>
      • IRevisionedSerializer<TRevision>
      • ISerializable
      • ISerializable<TRevision, TSerializer>
      • IWorldData
      • IWorldSerializer
      • SerializationUtility
    • SociallyDistant.Core.Core.Serialization.Binary
      • BinaryDataReader
      • BinaryDataWriter
    • SociallyDistant.Core.Core.Systems
      • Counter
      • UniqueIntGenerator
    • SociallyDistant.Core.Core.Threading
      • WorkQueue
    • SociallyDistant.Core.Core.WorldData
      • IGlobalState
    • SociallyDistant.Core.Core.WorldData.Data
      • CharacterAttributes
      • DocumentElement
      • DocumentElementType
      • GenerationType
      • GlobalWorldData
      • MailTypeFlags
      • MemberGroupType
      • MessageChannelType
      • NetworkServiceData
      • RelationshipType
      • WitnessedObjectType
      • WorldChannelData
      • WorldComputerData
      • WorldCraftedExploitData
      • WorldDomainNameData
      • WorldGenerationTrackingData
      • WorldGuildData
      • WorldHackableData
      • WorldInternetServiceProviderData
      • WorldInventoryItem
      • WorldLocalNetworkData
      • WorldMailData
      • WorldMemberData
      • WorldMessageData
      • WorldNetworkConnection
      • WorldNewsData
      • WorldNotificationData
      • WorldPlayerData
      • WorldPortForwardingRule
      • WorldPostData
      • WorldProfileData
      • WorldRelationshipData
      • WorldWitnessedObjectData
    • SociallyDistant.Core.Debugging
      • DebugEvent
      • DebugEventType
      • DebugService
      • IDebugService
    • SociallyDistant.Core.FileSystemProviders
      • TempFileSystemProvider
    • SociallyDistant.Core.Hacking
      • IPayload
      • Vulnerabilities
      • Vulnerability
    • SociallyDistant.Core.Missions
      • DangerLevel
      • IMission
      • IMissionContext
      • IMissionController
      • IMissionTask
      • IObjective
      • IObjectiveHandle
      • MissionEvent
      • MissionFailedException
      • MissionStartCondition
      • MissionTaskAttribute
      • MissionType
      • ObjectiveKind
      • ObjectiveResult
      • ObjectiveType
    • SociallyDistant.Core.Modules
      • Application
      • GameModule
      • IGameContext
      • IGameData
      • IGameDataWithCheckpoints
      • IGameRestorePoint
      • IModuleManager
      • INetworkSimulation
      • IUriManager
      • IUriSchemeHandler
      • IVirtualScreen
      • InitializationFlow
      • PlayerInfo
      • XnaHelpers
    • SociallyDistant.Core.News
      • Article
      • ArticleData
      • ArticleFlags
      • ArticleInfo
      • IArticleAsset
    • SociallyDistant.Core.OS
      • IKernel
    • SociallyDistant.Core.OS.Devices
      • ConsoleCapabilities
      • ConsoleDriver
      • ConsoleInputData
      • ConsoleWrapper
      • EntryBuilder
      • HostConsole
      • HostScreen
      • IAutoCompleteSource
      • IAutoCompletedConsole
      • IComputer
      • IConsoleDriver
      • IEnvironmentVariableProvider
      • IHackable
      • IInitProcess
      • IIterableEnvironmentVariableProvider
      • ISystemProcess
      • ISystemServiceProvider
      • ITextConsole
      • ITextConsoleWithPhysicalDisplay
      • IUser
      • KeyModifiers
      • LineEditor
      • LineWrapper
      • MultiCancellationTokenSource
      • NullConsole
      • NullScreen
      • PrivilegeLevel
      • RepeatableCancellationToken
      • SystemService
      • SystemServiceAttribute
    • SociallyDistant.Core.OS.FileSystems
      • EntryTypes
      • IDirectoryEntry
      • IFileEntry
      • IFileOverrider
      • IFileSystem
      • IFileSystemProvider
      • IFileSystemTable
      • IFileSystemTableEntry
      • IMountManager
      • IVirtualFileSystem
      • InMemoryDirectoryEntry
      • InMemoryFileEntry
      • InMemoryFileSystem
      • MountManager
      • NotifyingMemoryStream
      • ReadOnlyMemoryStream
      • VirtualFileSystem
    • SociallyDistant.Core.OS.FileSystems.Host
      • FileInputConsole
      • HostDirectoryEntry
      • HostFileEntry
      • HostJail
    • SociallyDistant.Core.OS.FileSystems.Immutable
      • ImmutableDirectoryEntry
      • ImmutableDirectoryTree
    • SociallyDistant.Core.OS.Network
      • ConnectionResultType
      • HackableDevice
      • HackableGenerationMethod
      • IAcceptNetworkClient<TNetworkClient>
      • IConnectionHandle
      • IHostNameResolver
      • INetworkAsset
      • INetworkClient
      • INetworkConnection
      • INetworkInterfaceEnumerator
      • INetworkNode
      • INetworkServer
      • IServerConnection
      • NetUtility
      • NetworkInterfaceInformation
      • NetworkResolveResult
      • NetworkServer<TNetworkClient, TServerConnection>
      • PingResult
      • PortResolution
      • PortScanResult
      • PortStatus
      • Subnet
    • SociallyDistant.Core.OS.Tasks
      • CommandAttribute
      • ICommandTask
      • ITaskManager
    • SociallyDistant.Core.Programs
      • ProgramController
      • ProgramController.ProgramContext
    • SociallyDistant.Core.Shell
      • CommonColor
      • IIconDescriptor
      • IProgram
      • IShellContext
      • IShellOverlay
      • ITutorialOverlay
      • IconDescriptorFactory
      • SociallyDistantExtensions
      • TextIconDescriptor
      • TextureIconDescriptor
    • SociallyDistant.Core.Shell.Common
      • CompositeIcon
      • INotificationGroup
      • INotificationManager
      • NotificationGroups
    • SociallyDistant.Core.Shell.InfoPanel
      • IInfoPanelService
      • InfoPanelCheckList
      • InfoPanelCheckListItem
      • InfoPanelCheckListState
      • InfoWidgetCreationData
      • InfoWidgetData
    • SociallyDistant.Core.Shell.Windowing
      • CaptionButtonStyle
      • CaptionButtonType
      • IBringWindowToFocus
      • IMessageDialog
      • IUpdateDesiredPositions
      • IWindow
      • IWindowGroup
      • MessageBoxButtonData
      • MessageBoxButtons
      • MessageBoxType
      • MessageDialogResult
      • Window
      • Window.ThemeProperties
      • Window.VisualState
      • WindowCaptionButton
      • WindowCaptionButton.ThemeProperties
      • WindowCaptionButton.VisualState
      • WindowHints
    • SociallyDistant.Core.Shortcuts
      • ShortcutManager
    • SociallyDistant.Core.Social
      • AvatarSize
      • ChannelIconData
      • ICharacterGenerator
      • IChatChannel
      • IChatGroup
      • IChatMember
      • IDirectConversation
      • IGuild
      • IGuildList
      • IMailMessage
      • IMailThread
      • INarrativeThread
      • INewsArticle
      • INewsManager
      • IProfile
      • ISocialService
      • IUserMessage
      • NarrativeThread
    • SociallyDistant.Core.UI
      • GuiDebugService
      • GuiService
      • LucideIcons
    • SociallyDistant.Core.UI.Common
      • Avatar
      • CompositeIconWidget
      • DecorativeBlock
      • DecorativeBlock.VisualState
      • Emblem
      • Emblem.LayoutProperties
      • Emblem.VisualState
      • ListItemWithHeader
      • SimpleField
      • ToolbarIcon
    • SociallyDistant.Core.UI.Console
      • ConsoleLineEditor
      • ConsoleSizeMode
      • ConsoleThemeProperties
      • ITextScreen
      • TextScreen
      • TextScreenExtensions
    • SociallyDistant.Core.UI.Effects
      • BackgroundBlurProperties
      • BackgroundBlurWidgetEffect
      • DefaultAvatarColorizer
      • DefaultAvatarProperties
      • MonoGameEffect
    • SociallyDistant.Core.UI.Recycling
      • AvatarWidgetBuilder
      • AvatarWidgetController
      • DropdownWidgetBuilder
      • DropdownWidgetController
      • IRecyclableWidgetBuilder
      • ISectionWidgetBuilder
      • ImageWidgetBuilder
      • ImageWidgetController
      • InputFieldWidgetBuilder
      • InputFieldWidgetController
      • LabelWidgetBuilder
      • LabelWidgetController
      • ListItemWidgetBuilder<T>
      • ListItemWidgetController<T>
      • SectionWidgetBuilder
      • SectionWidgetController
      • SliderWidgetBuilder
      • SliderWidgetController
      • SwitchWidgetBuilder
      • SwitchWidgetController
      • TwoLineListItemWithIcon
      • WidgetBuilder
    • SociallyDistant.Core.UI.Recycling.SettingsWidgets
      • CompletionListWidget
      • CompletionListWidget.ThemeProperties
      • CompletionListWidget.VisualState
      • Cycler
      • FormField
      • FormField.LayoutProperties
      • FormField.VisualState
      • SectionTitle
      • SettingsFieldWidgetBuilder
      • SettingsFieldWidgetController
      • WidgetListSettingsUiBuilder
    • SociallyDistant.Core.UI.Shell
      • TrayAction
    • SociallyDistant.Core.UI.VisualStyles
      • ChatMessageThemeProperties
      • ChatMessageVisualState
      • DockLayoutProperties
      • DockVisualState
      • IChatMessageBox
      • IChatMessageRenderer
      • IDockIconView
      • InputFieldType
      • SociallyDistantVisualStyle
      • SociallyDistantVisualStyle.CodeEditorStyle
      • SociallyDistantVisualStyle.DropdownButtonStyle
      • StatusBarLayoutProperties
      • StatusBarVisualState
      • UserStyle
      • WidgetBackgrounds
      • WidgetForegrounds
    • SociallyDistant.Core.UI.Widgets
      • BlurredOverlay
      • BlurredOverlay.VisualState

    Interface IShellContext

    Interface for the in-game user interface shell.

    Namespace: SociallyDistant.Core.Shell
    Assembly: SociallyDistant.Framework.dll
    Syntax
    public interface IShellContext

    Properties

    InfoPanelService

    Gets a reference to the Info Panel Service, which manages the state of the desktop's information panel widgets.

    Declaration
    IInfoPanelService InfoPanelService { get; }
    Property Value
    Type Description
    IInfoPanelService

    NotificationManager

    Gets the game's Notification Manager.

    Declaration
    INotificationManager NotificationManager { get; }
    Property Value
    Type Description
    INotificationManager

    Methods

    CreateMessageDialog(string)

    Create an alert dialog.

    Declaration
    IMessageDialog CreateMessageDialog(string title)
    Parameters
    Type Name Description
    string title

    The title of the alert.

    Returns
    Type Description
    IMessageDialog

    An implementation of IMessageDialog representing the alert.

    CreateOverlay()

    Create a fullscreen overlay.

    Declaration
    IShellOverlay CreateOverlay()
    Returns
    Type Description
    IShellOverlay

    An IShellOverlay implementation representing the fullscreen overlay.

    CreateTutorialOverlay(LayoutRect)

    Create a tutorial overlay.

    Declaration
    ITutorialOverlay CreateTutorialOverlay(LayoutRect focusArea)
    Parameters
    Type Name Description
    LayoutRect focusArea

    The area on the screen, in GUI units, to highlight.

    Returns
    Type Description
    ITutorialOverlay

    An ITutorialOverlay implementation representing the overlay.

    OpenFile(ISystemProcess, string)

    Open a file using the associated program for the file type.

    Declaration
    bool OpenFile(ISystemProcess context, string filePath)
    Parameters
    Type Name Description
    ISystemProcess context

    An instance of ISystemProcess providing context for the device the file is being opened on.

    string filePath

    The absolute path to the file.

    Returns
    Type Description
    bool

    True if the file was opened, false otherwise.

    Remarks

    If the given path is that of a directory, the File Manager will be opened to that directory's contents.

    File associations are based on MIME type, which is determined by the file extension in the file's name. If the game can't find a program compatible with the determined MIME type, then the game will fall back to the Hex Viewer and the user will get a hexdump of the file's contents.

    Note that the player must have unlocked/installed the program used to open the file. If that's not the case, it will be treated as an unknown MIME type and a hex dump will be shown. This is because, when opening files on a hacked device, the contents are downloaded locally to the player's home directory.

    OpenProgram(IProgram, string[])

    Open a program window on the current device.

    Declaration
    bool OpenProgram(IProgram program, string[] arguments)
    Parameters
    Type Name Description
    IProgram program

    The program to open.

    string[] arguments

    Command-line arguments to be passed to the program.

    Returns
    Type Description
    bool

    True if the program was opened.

    OpenProgram(IProgram, string[], ISystemProcess, IConsoleDriver)

    Open a program window.

    Declaration
    bool OpenProgram(IProgram programToOpen, string[] arguments, ISystemProcess programProcess, IConsoleDriver console)
    Parameters
    Type Name Description
    IProgram programToOpen

    The program to open.

    string[] arguments

    Command-line arguments that should be passed to the program.

    ISystemProcess programProcess

    An in-game process binding the program to a user and device.

    IConsoleDriver console

    A console driver for the program to write console output to, if it wants to.

    Returns
    Type Description
    bool

    True if the window was opened.

    OpenSettings()

    Open the System Settings screen.

    Declaration
    void OpenSettings()

    ShowExceptionMessage(Exception)

    Show an exception handling alert.

    Declaration
    Task ShowExceptionMessage(Exception ex)
    Parameters
    Type Name Description
    Exception ex

    The exception to alert about.

    Returns
    Type Description
    Task

    A task that resolves when the alert is dismissed.

    ShowInfoDialog(string, string)

    Show an alert message and wait for it to be dismissed.

    Declaration
    Task ShowInfoDialog(string title, string message)
    Parameters
    Type Name Description
    string title

    The title of the alert.

    string message

    The message to be shown in the alert.

    Returns
    Type Description
    Task

    A task that is resolved when the alert is dismissed.

    In this article
    Back to top Generated by DocFX