OutputItemBuilder<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for output item builders. Provides common fields, properties, and EmitAdded(T) / EmitDone(T) methods that handle event construction and output tracking. Can also be used directly for output item types that have no streaming sub-events (no deltas, no status transitions).
public class OutputItemBuilder<T> where T : OutputItem
type OutputItemBuilder<'T (requires 'T :> OutputItem)> = class
Public Class OutputItemBuilder(Of T)
Type Parameters
- T
The concrete OutputItem subtype this builder handles.
- Inheritance
-
OutputItemBuilder<T>
- Derived
Constructors
| Name | Description |
|---|---|
| OutputItemBuilder<T>() |
Initializes a new instance of OutputItemBuilder<T> for mocking. |
Properties
| Name | Description |
|---|---|
| ItemId |
The auto-generated item ID for this output item. |
| OutputIndex |
The output index assigned to this output item. |
Methods
| Name | Description |
|---|---|
| EmitAdded(T) |
Produces a |
| EmitDone(T) |
Produces a |