diff options
author | Jose <jose@zeroc.com> | 2018-09-12 14:48:57 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-09-12 14:48:57 +0200 |
commit | f9801ab21989e330015ffa274493e775671fe865 (patch) | |
tree | 99f7cf77ab7863117aa8ee7f2f8047afc6351d58 /csharp/test/xamarin/controller.UWP/MainPage.xaml.cs | |
parent | Missing C++ header include (diff) | |
download | ice-f9801ab21989e330015ffa274493e775671fe865.tar.bz2 ice-f9801ab21989e330015ffa274493e775671fe865.tar.xz ice-f9801ab21989e330015ffa274493e775671fe865.zip |
Make test controllers layout more consistent
Close #184
Diffstat (limited to 'csharp/test/xamarin/controller.UWP/MainPage.xaml.cs')
-rw-r--r-- | csharp/test/xamarin/controller.UWP/MainPage.xaml.cs | 40 |
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"; + } + } +} |