Table of Contents

Class ProxyScope

Namespace
Fluxzy.Core
Assembly
Fluxzy.Core.dll

Shall be one per proxy instance

public class ProxyScope : IAsyncDisposable
Inheritance
ProxyScope
Implements
Inherited Members

Constructors

ProxyScope(Func<IOutOfProcessHost, ICaptureContext>)

public ProxyScope(Func<IOutOfProcessHost, ICaptureContext> captureContextBuilder)

Parameters

captureContextBuilder Func<IOutOfProcessHost, ICaptureContext>

ProxyScope(Func<IOutOfProcessHost>, Func<IOutOfProcessHost, ICaptureContext>)

public ProxyScope(Func<IOutOfProcessHost> captureHostBuilder, Func<IOutOfProcessHost, ICaptureContext> captureContextBuilder)

Parameters

captureHostBuilder Func<IOutOfProcessHost>
captureContextBuilder Func<IOutOfProcessHost, ICaptureContext>

Properties

CaptureContext

public ICaptureContext? CaptureContext { get; set; }

Property Value

ICaptureContext

Identifier

public Guid Identifier { get; }

Property Value

Guid

Methods

Dispose()

public void Dispose()

DisposeAsync()

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

public ValueTask DisposeAsync()

Returns

ValueTask

A task that represents the asynchronous dispose operation.

GetOrCreateHostedCaptureContext()

public Task<ICaptureContext> GetOrCreateHostedCaptureContext()

Returns

Task<ICaptureContext>

GetOrCreateHostedCaptureHost()

No thread safe : validate that there's no risk in thread safety

public Task<IOutOfProcessHost?> GetOrCreateHostedCaptureHost()

Returns

Task<IOutOfProcessHost>