Class SimplePluginOptions.SimplePluginOption<T>
- Namespace
- Temporalio.Common
- Assembly
- Temporalio.dll
Represents a required configurable plugin option.
public class SimplePluginOptions.SimplePluginOption<T>
Type Parameters
TThe type of the option value.
- Inheritance
-
SimplePluginOptions.SimplePluginOption<T>
- Inherited Members
Constructors
SimplePluginOption(Func<T, T>)
Initializes a new instance of the SimplePluginOptions.SimplePluginOption<T> class with a configurable function.
public SimplePluginOption(Func<T, T> value)
Parameters
valueFunc<T, T>The configurable function.
SimplePluginOption(T?)
Initializes a new instance of the SimplePluginOptions.SimplePluginOption<T> class with a constant value.
public SimplePluginOption(T? value)
Parameters
valueTThe constant value.
Properties
Configurable
Gets the configurable function for the required option.
public Func<T, T>? Configurable { get; }
Property Value
- Func<T, T>
Constant
Gets the constant value for the required option.
public T? Constant { get; }
Property Value
- T