Skip to content

Commit ffd3328

Browse files
committed
Added missing documentation strings
1 parent fb7dc74 commit ffd3328

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

Bonsai.Scripting/ExpressionCondition.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace Bonsai.Scripting
1212
[DefaultProperty("Expression")]
1313
[WorkflowElementCategory(ElementCategory.Condition)]
1414
[TypeDescriptionProvider(typeof(ExpressionConditionTypeDescriptionProvider))]
15+
[Description("An expression script used to determine which values of the input sequence are accepted.")]
1516
public class ExpressionCondition : SingleArgumentExpressionBuilder, IScriptingElement
1617
{
1718
static readonly MethodInfo whereMethod = typeof(Observable).GetMethods()

Bonsai.Scripting/ExpressionSink.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace Bonsai.Scripting
1212
[DefaultProperty("Expression")]
1313
[WorkflowElementCategory(ElementCategory.Sink)]
1414
[TypeDescriptionProvider(typeof(ExpressionSinkTypeDescriptionProvider))]
15+
[Description("An expression script used to operate on individual values of the input sequence.")]
1516
public class ExpressionSink : SingleArgumentExpressionBuilder, IScriptingElement
1617
{
1718
static readonly MethodInfo doMethod = typeof(Observable).GetMethods()

Bonsai.Scripting/ExpressionTransform.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace Bonsai.Scripting
1212
[DefaultProperty("Expression")]
1313
[WorkflowElementCategory(ElementCategory.Transform)]
1414
[TypeDescriptionProvider(typeof(ExpressionTransformTypeDescriptionProvider))]
15+
[Description("An expression script used to transform individual values of the input sequence.")]
1516
public class ExpressionTransform : SingleArgumentExpressionBuilder, IScriptingElement
1617
{
1718
static readonly MethodInfo selectMethod = typeof(Observable).GetMethods()

Bonsai.Scripting/PythonSelectMany.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Bonsai.Scripting
1313
[DefaultProperty("Script")]
1414
[WorkflowElementCategory(ElementCategory.Combinator)]
1515
[TypeDescriptionProvider(typeof(PythonSelectManyTypeDescriptionProvider))]
16+
[Description("A Python script used to project each value of the input into an observable sequence.")]
1617
public class PythonSelectMany : SingleArgumentExpressionBuilder, IScriptingElement
1718
{
1819
public PythonSelectMany()

Bonsai.Scripting/PythonSource.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace Bonsai.Scripting
1313
[DefaultProperty("Script")]
1414
[WorkflowElementCategory(ElementCategory.Source)]
1515
[TypeDescriptionProvider(typeof(PythonSourceTypeDescriptionProvider))]
16+
[Description("A Python script used to generate an observable sequence of values.")]
1617
public class PythonSource : ZeroArgumentExpressionBuilder, IScriptingElement
1718
{
1819
public PythonSource()

Bonsai.Scripting/PythonTransform.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace Bonsai.Scripting
1212
[DefaultProperty("Script")]
1313
[WorkflowElementCategory(ElementCategory.Transform)]
1414
[TypeDescriptionProvider(typeof(PythonTransformTypeDescriptionProvider))]
15+
[Description("A Python script used to transform individual values of the input sequence.")]
1516
public class PythonTransform : SingleArgumentExpressionBuilder, IScriptingElement
1617
{
1718
public PythonTransform()

0 commit comments

Comments
 (0)