summaryrefslogtreecommitdiff
path: root/csharp/test/xamarin/controller.UWP/MainPage.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/test/xamarin/controller.UWP/MainPage.xaml.cs')
-rw-r--r--csharp/test/xamarin/controller.UWP/MainPage.xaml.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/csharp/test/xamarin/controller.UWP/MainPage.xaml.cs b/csharp/test/xamarin/controller.UWP/MainPage.xaml.cs
new file mode 100644
index 00000000000..5d6d20d8b97
--- /dev/null
+++ b/csharp/test/xamarin/controller.UWP/MainPage.xaml.cs
@@ -0,0 +1,40 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+namespace controller.UWP
+{
+ public sealed partial class MainPage : Test.PlatformAdapter
+ {
+ public MainPage()
+ {
+ InitializeComponent();
+ LoadApplication(new controller.App(this));
+ }
+
+ public bool registerProcessController()
+ {
+ return true;
+ }
+
+ public bool isEmulator()
+ {
+ return false;
+ }
+
+ public string processControllerIdentity()
+ {
+ return "UWP/ProcessController";
+ }
+
+ public string processControllerRegistryHost()
+ {
+ return "127.0.0.1";
+ }
+ }
+}