ComponentAccessorParameterSource<T>

Models & Types · AiDotNet.Models.Parameters

A lazily obtained component whose identity is registered before the component itself exists.

Implements: IParameterLayoutSource, IParameterSource<T>, IParameterSurfaceLifecycle

Constructors

Constructor Summary
ComponentAccessorParameterSource(Func<IParameterSource<T>> get, bool optional) Creates a source that re-reads the component on every operation.

Properties

Property Summary
long ParameterCount { get; }

Methods

Method Summary
IReadOnlyList<ParameterSlotDescriptor> GetParameterLayout()
Vector<T> GetParameters()
void PrepareParameterSurface(ParameterSurfaceIntent intent)
void SetParameters(Vector<T> parameters)