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

    Class UserScriptExecutionContext

    Inheritance
    object
    UserScriptExecutionContext
    Implements
    IScriptExecutionContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SociallyDistant.Core.Core.Scripting
    Assembly: SociallyDistant.Framework.dll
    Syntax
    public sealed class UserScriptExecutionContext : IScriptExecutionContext

    Constructors

    UserScriptExecutionContext()

    Declaration
    public UserScriptExecutionContext()

    Properties

    FileSystem

    Gets a reference to the shell's file system. If null, glob patterns won't be expanded.

    Declaration
    public IVirtualFileSystem? FileSystem { get; set; }
    Property Value
    Type Description
    IVirtualFileSystem

    Home

    Gets a path to the user's home directory. If null, there is no home directory and '~' characters will not be expanded to it.

    Declaration
    public string? Home { get; set; }
    Property Value
    Type Description
    string

    ModuleManager

    Declaration
    public ScriptModuleManager ModuleManager { get; }
    Property Value
    Type Description
    ScriptModuleManager

    Title

    Declaration
    public string Title { get; set; }
    Property Value
    Type Description
    string

    WorkingDirectory

    Gets a path to the current working directory. If none is specified, "/" will be used instead.

    Declaration
    public string? WorkingDirectory { get; set; }
    Property Value
    Type Description
    string

    Methods

    DeclareFunction(string, IScriptFunction)

    Declaration
    public void DeclareFunction(string name, IScriptFunction body)
    Parameters
    Type Name Description
    string name
    IScriptFunction body

    GetVariableValue(string)

    Declaration
    public string GetVariableValue(string variableName)
    Parameters
    Type Name Description
    string variableName
    Returns
    Type Description
    string

    HandleCommandNotFound(string, string[], IConsoleDriver)

    Declaration
    public void HandleCommandNotFound(string name, string[] args, IConsoleDriver console)
    Parameters
    Type Name Description
    string name
    string[] args
    IConsoleDriver console

    OpenFileConsole(IConsoleDriver, string, FileRedirectionType)

    Declaration
    public IConsoleDriver OpenFileConsole(IConsoleDriver realConsole, string filePath, FileRedirectionType mode)
    Parameters
    Type Name Description
    IConsoleDriver realConsole
    string filePath
    FileRedirectionType mode
    Returns
    Type Description
    IConsoleDriver

    SetVariableValue(string, string)

    Declaration
    public void SetVariableValue(string variableName, string value)
    Parameters
    Type Name Description
    string variableName
    string value

    TryExecuteCommandAsync(string, string[], IConsoleDriver, IScriptExecutionContext?)

    Declaration
    public Task<int?> TryExecuteCommandAsync(string name, string[] args, IConsoleDriver console, IScriptExecutionContext? callSite = null)
    Parameters
    Type Name Description
    string name
    string[] args
    IConsoleDriver console
    IScriptExecutionContext callSite
    Returns
    Type Description
    Task<int?>

    Events

    OnCommandNotFound

    Declaration
    public event Action<string, IConsoleDriver>? OnCommandNotFound
    Event Type
    Type Description
    Action<string, IConsoleDriver>

    Implements

    IScriptExecutionContext
    In this article
    Back to top Generated by DocFX