Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos authored and jfversluis committed Jan 26, 2025
1 parent cce9468 commit efc36b0
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public IPlatformElementConfiguration<T, ActivityIndicator> On<T>() where T : ICo

private protected override string GetDebuggerDisplay()
{
return $"IsRunning = {IsRunning}, " + base.GetDebuggerDisplay();
return $"IsRunning = {IsRunning}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Button/Button.cs
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ public override object ConvertTo(ITypeDescriptorContext context, CultureInfo cul

private protected override string GetDebuggerDisplay()
{
return $"Text = {Text}, Command = {Command}, " + base.GetDebuggerDisplay();
return $"Text = {Text}, Command = {Command}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/CheckBox/CheckBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ bool ICheckBox.IsChecked

private protected override string GetDebuggerDisplay()
{
return $"IsChecked = {IsChecked}, " + base.GetDebuggerDisplay();
return $"IsChecked = {IsChecked}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/ContentView/ContentView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ internal override void SetChildInheritedBindingContext(Element child, object con

private protected override string GetDebuggerDisplay()
{
return $"Content = {Content}, " + base.GetDebuggerDisplay();
return $"Content = {Content}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/DatePicker/DatePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ string IDatePicker.Format

private protected override string GetDebuggerDisplay()
{
return $"Date = {Date}, " + base.GetDebuggerDisplay();
return $"Date = {Date}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Image/Image.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ void IImageSourcePart.UpdateIsLoading(bool isLoading) =>

private protected override string GetDebuggerDisplay()
{
return $"Source = {Source}, " + base.GetDebuggerDisplay();
return $"Source = {Source}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/IndicatorView/IndicatorView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ int IIndicatorView.Position

private protected override string GetDebuggerDisplay()
{
return $"Position = {Position}, Count = {Count}, " + base.GetDebuggerDisplay();
return $"Position = {Position}, Count = {Count}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/InputView/InputView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ string ITextInput.Text

private protected override string GetDebuggerDisplay()
{
return $"Text = {Text}, " + base.GetDebuggerDisplay();
return $"Text = {Text}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Items/ItemsView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ protected override void OnBindingContextChanged()

private protected override string GetDebuggerDisplay()
{
return $"ItemsSource = {ItemsSource}, " + base.GetDebuggerDisplay();
return $"ItemsSource = {ItemsSource}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Label/Label.cs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ internal static bool TextChangedShouldInvalidateMeasure(Label label)

private protected override string GetDebuggerDisplay()
{
return $"Text = {Text}, " + base.GetDebuggerDisplay();
return $"Text = {Text}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Layout/Layout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ static void OnCascadeInputTransparentPropertyChanged(BindableObject bindable, ob

private protected override string GetDebuggerDisplay()
{
return $"ChildCount = {Count}, " + base.GetDebuggerDisplay();
return $"ChildCount = {Count}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Picker/Picker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ string GetItem(int index)

private protected override string GetDebuggerDisplay()
{
return $"Items = {ItemsSource?.Count ?? 0}, SelectedItem = {SelectedItem}, " + base.GetDebuggerDisplay();
return $"Items = {ItemsSource?.Count ?? 0}, SelectedItem = {SelectedItem}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/ProgressBar/ProgressBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public IPlatformElementConfiguration<T, ProgressBar> On<T>() where T : IConfigPl

private protected override string GetDebuggerDisplay()
{
return $"Progress = {Progress}, " + base.GetDebuggerDisplay();
return $"Progress = {Progress}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/RadioButton/RadioButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ bool IRadioButton.IsChecked

private protected override string GetDebuggerDisplay()
{
return $"IsChecked = {IsChecked}, Value = {Value}, " + base.GetDebuggerDisplay();
return $"IsChecked = {IsChecked}, Value = {Value}, {base.GetDebuggerDisplay()}";
}

private protected override Semantics UpdateSemantics()
Expand Down
2 changes: 1 addition & 1 deletion src/Controls/src/Core/RefreshView/RefreshView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ bool IRefreshView.IsRefreshing

private protected override string GetDebuggerDisplay()
{
return $"Command = {Command}, IsRefreshing = {IsRefreshing}, " + base.GetDebuggerDisplay();
return $"Command = {Command}, IsRefreshing = {IsRefreshing}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/ScrollView/ScrollView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ private protected override void InvalidateMeasureLegacy(InvalidationTrigger trig

private protected override string GetDebuggerDisplay()
{
return $"Content = {Content}, " + base.GetDebuggerDisplay();
return $"Content = {Content}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/SearchBar/SearchBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ void ISearchBar.SearchButtonPressed()

private protected override string GetDebuggerDisplay()
{
return $"SearchCommand = {SearchCommand}, " + base.GetDebuggerDisplay();
return $"SearchCommand = {SearchCommand}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Slider/Slider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ void ISlider.DragStarted()

private protected override string GetDebuggerDisplay()
{
return $"Value = {Value}, Min-Max = {Minimum} - {Maximum}, " + base.GetDebuggerDisplay();
return $"Value = {Value}, Min-Max = {Minimum} - {Maximum}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Stepper/Stepper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public double Value

private protected override string GetDebuggerDisplay()
{
return $"Value = {Value}, " + base.GetDebuggerDisplay();
return $"Value = {Value}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/Switch/Switch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ bool ISwitch.IsOn

private protected override string GetDebuggerDisplay()
{
return $"IsToggled = {IsToggled}, " + base.GetDebuggerDisplay();
return $"IsToggled = {IsToggled}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/TimePicker/TimePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static void TimePropertyChanged(BindableObject bindable, object oldValue, object

private protected override string GetDebuggerDisplay()
{
return $"Time = {Time}, " + base.GetDebuggerDisplay();
return $"Time = {Time}, {base.GetDebuggerDisplay()}";
}
}
}
2 changes: 1 addition & 1 deletion src/Controls/src/Core/WebView/WebView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ void IWebView.ProcessTerminated(WebProcessTerminatedEventArgs args)

private protected override string GetDebuggerDisplay()
{
return $"Source = {Source}, " + base.GetDebuggerDisplay();
return $"Source = {Source}, {base.GetDebuggerDisplay()}";
}
}
}

0 comments on commit efc36b0

Please sign in to comment.