Skip to content

Commit

Permalink
fixes #1123
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-rodriguez committed Jul 19, 2023
1 parent 8df5942 commit 79c6753
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/skiasharp/LiveChartsCore.SkiaSharp.WPF/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ protected Chart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(Chart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(Chart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (Chart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public CartesianChart()
/// </summary>
public static readonly BindableProperty SyncContextProperty =
BindableProperty.Create(
nameof(SyncContext), typeof(object), typeof(CartesianChart), new ObservableCollection<ISeries>(), BindingMode.Default, null,
nameof(SyncContext), typeof(object), typeof(CartesianChart), new(), BindingMode.Default, null,
(BindableObject o, object oldValue, object newValue) =>
{
var chart = (CartesianChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public PieChart()
/// </summary>
public static readonly BindableProperty SyncContextProperty =
BindableProperty.Create(
nameof(SyncContext), typeof(object), typeof(PieChart), new ObservableCollection<ISeries>(), BindingMode.Default, null,
nameof(SyncContext), typeof(object), typeof(PieChart), new(), BindingMode.Default, null,
(BindableObject o, object oldValue, object newValue) =>
{
var chart = (PieChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public PolarChart()
/// </summary>
public static readonly BindableProperty SyncContextProperty =
BindableProperty.Create(
nameof(SyncContext), typeof(object), typeof(PolarChart), new ObservableCollection<ISeries>(), BindingMode.Default, null,
nameof(SyncContext), typeof(object), typeof(PolarChart), new(), BindingMode.Default, null,
(BindableObject o, object oldValue, object newValue) =>
{
var chart = (PolarChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public CartesianChart()
/// </summary>
public static readonly BindableProperty SyncContextProperty =
BindableProperty.Create(
nameof(SyncContext), typeof(object), typeof(CartesianChart), new ObservableCollection<ISeries>(), BindingMode.Default, null,
nameof(SyncContext), typeof(object), typeof(CartesianChart), new(), BindingMode.Default, null,
(BindableObject o, object oldValue, object newValue) =>
{
var chart = (CartesianChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public PieChart()
/// </summary>
public static readonly BindableProperty SyncContextProperty =
BindableProperty.Create(
nameof(SyncContext), typeof(object), typeof(PieChart), new ObservableCollection<ISeries>(), BindingMode.Default, null,
nameof(SyncContext), typeof(object), typeof(PieChart), new(), BindingMode.Default, null,
(BindableObject o, object oldValue, object newValue) =>
{
var chart = (PieChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public PolarChart()
/// </summary>
public static readonly BindableProperty SyncContextProperty =
BindableProperty.Create(
nameof(SyncContext), typeof(object), typeof(PolarChart), new ObservableCollection<ISeries>(), BindingMode.Default, null,
nameof(SyncContext), typeof(object), typeof(PolarChart), new(), BindingMode.Default, null,
(BindableObject o, object oldValue, object newValue) =>
{
var chart = (PolarChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public CartesianChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(CartesianChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(CartesianChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (CartesianChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public PieChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(PieChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(PieChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (PieChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public PolarChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(PolarChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(PolarChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (PolarChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public CartesianChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(CartesianChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(CartesianChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (CartesianChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public PieChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(PieChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(PieChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (PieChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public PolarChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(PolarChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(PolarChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (PolarChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public CartesianChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(CartesianChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(CartesianChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (CartesianChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public PieChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(PieChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(PieChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (PieChart)o;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public PolarChart()
/// </summary>
public static readonly DependencyProperty SyncContextProperty =
DependencyProperty.Register(
nameof(SyncContext), typeof(object), typeof(PolarChart), new PropertyMetadata(null,
nameof(SyncContext), typeof(object), typeof(PolarChart), new PropertyMetadata(new(),
(DependencyObject o, DependencyPropertyChangedEventArgs args) =>
{
var chart = (PolarChart)o;
Expand Down

0 comments on commit 79c6753

Please sign in to comment.