Constructor CustomSource
CustomSource(object, Type, string?)
Creates a custom source.
public CustomSource(object payload, Type valueType, string? description = null)
Parameters
payloadobjectThe engine-specific payload.
valueTypeTypeThe type the payload produces.
descriptionstringA human-readable description used in diagnostics.
Exceptions
- ArgumentNullException
payloadorvalueTypeis null.