Browse Source
Merge branch 'master' into perf-avoid-repeated-checks-in-getvalue
pull/2900/head
ahopper
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
7 deletions
-
samples/ControlCatalog.NetCore/Program.cs
|
|
|
@ -4,22 +4,16 @@ using System.Globalization; |
|
|
|
using System.Linq; |
|
|
|
using System.Threading; |
|
|
|
using Avalonia; |
|
|
|
using Avalonia.Controls; |
|
|
|
using Avalonia.LinuxFramebuffer.Output; |
|
|
|
using Avalonia.Skia; |
|
|
|
using Avalonia.ReactiveUI; |
|
|
|
using Avalonia.Dialogs; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
namespace ControlCatalog.NetCore |
|
|
|
{ |
|
|
|
static class Program |
|
|
|
{ |
|
|
|
|
|
|
|
[STAThread] |
|
|
|
static int Main(string[] args) |
|
|
|
{ |
|
|
|
Thread.CurrentThread.TrySetApartmentState(ApartmentState.STA); |
|
|
|
if (args.Contains("--wait-for-attach")) |
|
|
|
{ |
|
|
|
Console.WriteLine("Attach debugger and use 'Set next statement'"); |
|
|
|
|