Skip to content

Commit

Permalink
Add UseAbortSignal to CLI and UI, #3101
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed Nov 11, 2020
1 parent 087a632 commit eb73aa0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,13 @@ public string QueryNullValue
set { Settings.QueryNullValue = value; }
}

[Argument(Name = "UseAbortSignal", IsRequired = false, Description = "Specifies whether to use the AbortSignal (Fetch template only, default: false).")]
public bool UseAbortSignal
{
get { return Settings.UseAbortSignal; }
set { Settings.UseAbortSignal = value; }
}

[Argument(Name = "InlineNamedDictionaries", Description = "Inline named dictionaries (default: false).", IsRequired = false)]
public bool InlineNamedDictionaries
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@
</StackPanel>
</GroupBox>

<CheckBox IsChecked="{Binding Command.UseAbortSignal, Mode=TwoWay}"
Visibility="{Binding Command.Template, ConverterParameter='Fetch', Converter={StaticResource EqualityConverter}}"
Content="Use the AbortSignal (Fetch template only)"
ToolTip="UseAbortSignal"
Margin="0,0,0,12" />

<TextBlock Margin="0,0,0,6" TextWrapping="Wrap">
<Run Text="Operation Generation Mode" FontWeight="Bold" />
<LineBreak />
Expand Down

0 comments on commit eb73aa0

Please sign in to comment.