summaryrefslogtreecommitdiff
path: root/csharp/xamarin/controller/controller.UWP/MainPage.xaml.cs
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-07-20 19:19:30 +0200
committerJose <jose@zeroc.com>2018-07-20 19:19:30 +0200
commitf831849a119aa592d207fd38428517b414c2b39d (patch)
tree88c4d1c69072ad45eda621079f0d1d8b89a1fd8e /csharp/xamarin/controller/controller.UWP/MainPage.xaml.cs
parentUpdate Travis CI build to use ubuntu-18.04 (diff)
downloadice-f831849a119aa592d207fd38428517b414c2b39d.tar.bz2
ice-f831849a119aa592d207fd38428517b414c2b39d.tar.xz
ice-f831849a119aa592d207fd38428517b414c2b39d.zip
Xamarin testsuite
Diffstat (limited to 'csharp/xamarin/controller/controller.UWP/MainPage.xaml.cs')
-rw-r--r--csharp/xamarin/controller/controller.UWP/MainPage.xaml.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/csharp/xamarin/controller/controller.UWP/MainPage.xaml.cs b/csharp/xamarin/controller/controller.UWP/MainPage.xaml.cs
new file mode 100644
index 00000000000..5d6d20d8b97
--- /dev/null
+++ b/csharp/xamarin/controller/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";
+ }
+ }
+}