Class PipelineSession
Owns all blocks independently of their visible cards or groups. UI callers serialize edits.
Reload, deletion and shutdown use the same asynchronous resource-release path.
Inheritance
PipelineSession
Assembly: MOSAIC.dll
Syntax
public sealed class PipelineSession : IAsyncDisposable
Fields
_blocks
Declaration
private readonly HashSet<BaseBlock> _blocks
Field Value
Properties
Blocks
Declaration
public IReadOnlyCollection<BaseBlock> Blocks { get; }
Property Value
Methods
Add(BaseBlock)
Declaration
public void Add(BaseBlock block)
Parameters
ClearAsync()
Declaration
Returns
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or
resetting unmanaged resources asynchronously.
Declaration
public ValueTask DisposeAsync()
Returns
| Type |
Description |
| ValueTask |
A task that represents the asynchronous dispose operation.
|
DisposeBlockAsync(BaseBlock)
Declaration
private static Task DisposeBlockAsync(BaseBlock block)
Parameters
Returns
RemoveAsync(IEnumerable<BaseBlock>)
Declaration
public Task RemoveAsync(IEnumerable<BaseBlock> blocks)
Parameters
Returns
ReplaceAsync(IReadOnlyDictionary<string, JsonModel>, IBlockFactory)
Releases old sockets and recordings before constructing their replacements.
Declaration
public Task<BlockGraphBuilder.BuiltGraph> ReplaceAsync(IReadOnlyDictionary<string, JsonModel> models, IBlockFactory factory)
Parameters
Returns
Implements