Class AmbientPlatform.Scope
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
INDMFPlatformProviderThe platform to set as the ambient platform, or null to use the default platform
Exceptions
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()