Table of Contents

Class Int64Property

Namespace
Bonsai.Expressions
Assembly
Bonsai.Core.dll

Represents a workflow property containing a 64-bit signed integer.

Property sources expose a value which can be set from the property grid and also generate an observable sequence that emits a notification whenever the property value changes, starting with the initial property value.

Tip

Property sources are commonly used to create new configuration parameters with custom names for nested workflows. To expose and rename a property source, use Property Mapping to externalize the property value and set its DisplayName.

public class Int64Property : WorkflowProperty
Inheritance
Int64Property
Inherited Members

Properties

Value

Gets or sets the value of the property.

[Range(-9223372036854775808, 9223372036854775807)]
public long Value { get; set; }

Property Value

long

Methods

Generate()

Generates an observable sequence that produces a value whenever the workflow property changes, starting with the initial property value.

public virtual IObservable<long> Generate()

Returns

IObservable<long>

An observable sequence of property values.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence that produces a value whenever the source sequence emits a new element.

public IObservable<long> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The source sequence used to generate new values.

Returns

IObservable<long>

An observable sequence of property values.

Type Parameters

TSource

The type of the elements in the source sequence.