IPluginSyncT Interface

Provides synchronized access to a resource of type T.

Definition

Namespace: SMath.Extensibility
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
C#
public interface IPluginSync<T>
where T : class

Type Parameters

T
Type of resource which requires synchronous access.

Methods

Apply(ActionT) Gets exclusive access to the resource and applies the specified action to it.
ApplyTResult(PluginSyncHandlerT, TResult) Gets exclusive access to the resource and applies the specified handler to it.

See Also