namespace StellaOps.Plugin.Sandbox;
///
/// Factory for creating sandbox instances.
///
public interface ISandboxFactory
{
///
/// Create a new sandbox with the specified configuration.
///
/// Sandbox configuration.
/// A new sandbox instance.
ISandbox Create(SandboxConfiguration configuration);
///
/// Create a new sandbox with default configuration.
///
/// A new sandbox instance with default settings.
ISandbox CreateDefault();
///
/// Create a sandbox with configuration appropriate for the given trust level.
///
/// Trust level of the plugin.
/// A sandbox configured for the trust level.
ISandbox CreateForTrustLevel(Abstractions.PluginTrustLevel trustLevel);
}