Interface

ISimulatorExtensions

USI.Core

Discovers loaded in-process simulator extensions and communicates through the documented USI extension-notification protocol where the provider supports it.

public interface ISimulatorExtensions

Fields

MaximumMessageBytes

public const int MaximumMessageBytes

Methods

TryFindLoadedAsync

public Task<USIResult<SimulatorExtensionInfo>> TryFindLoadedAsync(string identifier)

Finds a loaded extension by its stable published identifier.

TryGetLoadedAsync

public Task<USIResult<IReadOnlyList<SimulatorExtensionInfo>>> TryGetLoadedAsync()

Gets the loaded extensions visible through the selected provider.

TrySendAsync

public Task<USIResult> TrySendAsync(SimulatorExtensionInfo extension, string topic, IReadOnlyList<Byte> payload)

Sends one namespaced USI notification. Successful dispatch does not imply that the receiving extension acted on the notification.

TrySetEnabledAsync

public Task<USIResult> TrySetEnabledAsync(SimulatorExtensionInfo extension, bool enabled)

Requests an absolute enabled state for a loaded extension. A point-in-time extension record is revalidated by stable identifier before control.