Table of Contents

Class AmbientPlatform.Scope

Namespace
nadena.dev.ndmf.platform

This disposable scope allows you to temporarily set the current platform for the duration of the scope.

public class AmbientPlatform.Scope : IDisposable
Inheritance
AmbientPlatform.Scope
Implements
Inherited Members

Constructors

Scope(INDMFPlatformProvider?)

public Scope(INDMFPlatformProvider? platform)

Parameters

platform INDMFPlatformProvider

The platform to set as the ambient platform, or null to use the default platform

Exceptions

ArgumentNullException

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()