This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable Nullability on Xamarin.CommunityToolkit.Sample (#1014)
* Enable Nullable on Unit Tests * Enable Nullable on Xamarin.CommunityToolkit.Markup * Enable Nullable on Xamarin.CommunityToolkit.Sample
- Loading branch information
Showing
39 changed files
with
304 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
samples/XCT.Sample/Pages/Converters/BoolToObjectConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using Xamarin.Forms; | ||
|
||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class BoolToObjectConverterPage | ||
public partial class BoolToObjectConverterPage | ||
{ | ||
public BoolToObjectConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public BoolToObjectConverterPage() => InitializeComponent(); | ||
} | ||
} |
14 changes: 3 additions & 11 deletions
14
samples/XCT.Sample/Pages/Converters/DoubleToIntConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using Xamarin.Forms; | ||
|
||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class DoubleToIntConverterPage | ||
public partial class DoubleToIntConverterPage | ||
{ | ||
public DoubleToIntConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public DoubleToIntConverterPage() => InitializeComponent(); | ||
} | ||
} |
13 changes: 5 additions & 8 deletions
13
samples/XCT.Sample/Pages/Converters/EnumToBoolConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class EnumToBoolConverterPage | ||
{ | ||
public EnumToBoolConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
public partial class EnumToBoolConverterPage | ||
{ | ||
public EnumToBoolConverterPage() => InitializeComponent(); | ||
} | ||
} |
14 changes: 3 additions & 11 deletions
14
samples/XCT.Sample/Pages/Converters/EqualConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using Xamarin.Forms; | ||
|
||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class EqualConverterPage | ||
public partial class EqualConverterPage | ||
{ | ||
public EqualConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public EqualConverterPage() => InitializeComponent(); | ||
} | ||
} |
14 changes: 3 additions & 11 deletions
14
samples/XCT.Sample/Pages/Converters/IndexToArrayItemConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using Xamarin.Forms; | ||
|
||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class IndexToArrayItemConverterPage | ||
public partial class IndexToArrayItemConverterPage | ||
{ | ||
public IndexToArrayItemConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public IndexToArrayItemConverterPage() => InitializeComponent(); | ||
} | ||
} |
14 changes: 3 additions & 11 deletions
14
samples/XCT.Sample/Pages/Converters/IntToBoolConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using Xamarin.Forms; | ||
|
||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class IntToBoolConverterPage | ||
public partial class IntToBoolConverterPage | ||
{ | ||
public IntToBoolConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public IntToBoolConverterPage() => InitializeComponent(); | ||
} | ||
} |
7 changes: 2 additions & 5 deletions
7
samples/XCT.Sample/Pages/Converters/InvertedBoolConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class InvertedBoolConverterPage | ||
public partial class InvertedBoolConverterPage | ||
{ | ||
public InvertedBoolConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public InvertedBoolConverterPage() => InitializeComponent(); | ||
} | ||
} |
14 changes: 3 additions & 11 deletions
14
samples/XCT.Sample/Pages/Converters/IsNotNullOrEmptyConverterPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
using Xamarin.Forms; | ||
|
||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
namespace Xamarin.CommunityToolkit.Sample.Pages.Converters | ||
{ | ||
public partial class IsNotNullOrEmptyConverterPage | ||
public partial class IsNotNullOrEmptyConverterPage | ||
{ | ||
public IsNotNullOrEmptyConverterPage() | ||
{ | ||
InitializeComponent(); | ||
} | ||
public IsNotNullOrEmptyConverterPage() => InitializeComponent(); | ||
} | ||
} |
Oops, something went wrong.