Skip to content

Commit

Permalink
Add missing documentation strings
Browse files Browse the repository at this point in the history
  • Loading branch information
glopesdev committed Aug 28, 2022
1 parent 3863f37 commit aa9867f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Bonsai.Core/Expressions/WorkflowInputBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
namespace Bonsai.Expressions
{
/// <summary>
/// Represents the expression that is used as the input source of an encapsulated workflow.
/// Represents an expression builder that generates an observable sequence to be
/// used as input to an encapsulated workflow.
/// </summary>
[WorkflowElementCategory(ElementCategory.Source)]
[XmlType("WorkflowInput", Namespace = Constants.XmlNamespace)]
Expand Down Expand Up @@ -58,10 +59,18 @@ public override Expression Build(IEnumerable<Expression> arguments)
}
}

/// <summary>
/// Represents an expression builder that generates an observable sequence of the
/// specified type to be used as input to an encapsulated workflow.
/// </summary>
/// <typeparam name="TSource">
/// The type of the elements in the generated observable sequence.
/// </typeparam>
[XmlType("WorkflowInput", Namespace = Constants.XmlNamespace)]
[WorkflowElementIcon(typeof(WorkflowInputBuilder), nameof(WorkflowInputBuilder))]
public class WorkflowInputBuilder<TSource> : WorkflowInputBuilder
{
/// <inheritdoc/>
public override Expression Build(IEnumerable<Expression> arguments)
{
var source = Source;
Expand Down

0 comments on commit aa9867f

Please sign in to comment.