Partager via


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.

public interface ISubsystem
[System.Runtime.CompilerServices.NullableContext(1)]
public interface ISubsystem
type ISubsystem = interface
[<System.Runtime.CompilerServices.NullableContext(1)>]
type ISubsystem = interface
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