Language

CoreActivityInputBuilder<TActivity,TBuilder>.WithProperty<T> Method

Definition

Adds or updates a property in the activity's Properties dictionary.

public TBuilder WithProperty<T>(string name, T? value);
member this.WithProperty : string * 'T -> 'Builder
Public Function WithProperty(Of T) (name As String, value As T) As TBuilder

Type Parameters

T

Parameters

name
String

Name of the property.

value
T

Value of the property.

Returns

TBuilder

The builder instance for chaining.

Applies to