ISubsystem Interface

Definition

Define the base interface to implement a subsystem. The API contracts for specific subsystems are defined within the specific interfaces/abstract classes that implements this interface.

C#
public interface ISubsystem
C#
[System.Runtime.CompilerServices.NullableContext(1)]
public interface ISubsystem
Derived
Attributes

Remarks

A user should not directly implement ISubsystem, but instead should derive from one of the concrete subsystem interfaces or abstract classes. The instance of a type that only implements 'ISubsystem' cannot be registered to the SubsystemManager.

Properties

Description

Gets the description of a subsystem implementation.

FunctionsToDefine

Gets a dictionary that contains the functions to be defined at the global scope of a PowerShell session. Key: function name; Value: function script.

Id

Gets the unique identifier for a subsystem implementation.

Name

Gets the name of a subsystem implementation.

Applies to

Product Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0