Class SearchAttributeKey<T>
- Namespace
- Temporalio.Common
- Assembly
- Temporalio.dll
Type safe search attribute key.
public class SearchAttributeKey<T> : SearchAttributeKey, IComparable<SearchAttributeKey> where T : notnull
Type Parameters
T
.NET type accepted as value.
- Inheritance
-
SearchAttributeKey<T>
- Implements
- Inherited Members
Methods
ValueSet(T)
Create a workflow search attribute update to set a value for this key.
public SearchAttributeUpdate<T> ValueSet(T value)
Parameters
value
TValue to set.
Returns
- SearchAttributeUpdate<T>
Workflow search attribute update.
ValueUnset()
Create a workflow search attribute update to unset this key.
public SearchAttributeUpdate<T> ValueUnset()
Returns
- SearchAttributeUpdate<T>
Workflow search attribute update.