Пример #1
0
        public CompilerViewModel()
        {
            GetUidCommand = new Command(async(args) => {
                await CompilerService.DoGetUIDRequest();
            });

            PostCodeCommand = new Command(async(args) => {
                var html = await CompilerService.DoPostCodeRequest(args as string) as string;
                Result   = html;
                MessagingCenter.Send <CompilerViewModel>(this, "CompileActivityEnded");
            });
        }