2020-08-25 23:40:14 +03:00
|
|
|
// Licensed to the .NET Foundation under one or more agreements.
|
|
|
|
// The .NET Foundation licenses this file to you under the MIT license.
|
|
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
|
2021-03-30 20:53:47 +03:00
|
|
|
using CommunityToolkit.Common;
|
2020-08-27 00:48:54 +03:00
|
|
|
|
2020-08-25 23:40:14 +03:00
|
|
|
namespace SmokeTest
|
|
|
|
{
|
|
|
|
public sealed partial class MainPage
|
|
|
|
{
|
|
|
|
public MainPage()
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
}
|
2020-08-27 00:48:54 +03:00
|
|
|
|
|
|
|
private void Button_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
|
|
|
|
{
|
|
|
|
textBlock.Text = textBox.Text?.IsEmail().ToString() ?? "False";
|
|
|
|
}
|
2020-08-25 23:40:14 +03:00
|
|
|
}
|
2021-02-14 11:32:05 +03:00
|
|
|
}
|