Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmskywalker committed Nov 15, 2023
1 parent cb5b061 commit afcc120
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

namespace Elsa.Studio.Workflows.Components.WorkflowDefinitionEditor.Components.WorkflowProperties.Tabs.InputOutput.Components.Outputs;

/// <summary>
/// A dialog for editing an output.
/// </summary>
public partial class EditOutputDialog
{
private readonly OutputDefinitionModel _model = new();
Expand All @@ -22,12 +25,20 @@ public partial class EditOutputDialog
private ICollection<VariableTypeDescriptor> _variableTypes = new List<VariableTypeDescriptor>();
private ICollection<IGrouping<string, VariableTypeDescriptor>> _groupedVariableTypes = new List<IGrouping<string, VariableTypeDescriptor>>();

/// <summary>
/// The workflow definition.
/// </summary>
[Parameter] public WorkflowDefinition WorkflowDefinition { get; set; } = default!;

/// <summary>
/// The output to edit.
/// </summary>
[Parameter] public OutputDefinition? Output { get; set; }
[CascadingParameter] MudDialogInstance MudDialog { get; set; } = default!;
[Inject] private IStorageDriverService StorageDriverService { get; set; } = default!;
[Inject] private IVariableTypeService VariableTypeService { get; set; } = default!;

/// <inheritdoc />
protected override async Task OnParametersSetAsync()
{
// Instantiate the edit context first, so that it is available when rendering (which happens as soon as we call an async method on the next line).
Expand Down

0 comments on commit afcc120

Please sign in to comment.