Update GTK RemoteAgents
[CSharpForFun/.git] / Mono / RemoteAgents / GTKLinux / View / View.cs
1 using System.Threading.Tasks;
2 using Example.RemoteAgents.GTKLinux.ViewModel;
3
4
5 namespace Example.RemoteAgents.GTKLinux.View
6 {
7   public class ViewImpl
8   {
9     private readonly ViewModelImpl _vm = new ViewModelImpl();
10
11     async public Task<string> GetCurrentDateAsync()
12     {
13       return await _vm.GetCurrentDateAsync();
14     }
15
16     async public Task SetWriteTextAsync(params object[] parameters)
17     {
18       await _vm.SetWriteTextAsync(parameters);
19     }
20   }
21 }
22