Added base decoding logic + notification logic.

This commit is contained in:
Patrick Fic
2020-01-17 11:03:11 -08:00
parent 572f409176
commit 3357a8a564
11 changed files with 659 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
using GraphQL.Client;
using BodyshopUploader.Utils.Growls;
using GraphQL.Client;
using GraphQL.Common.Request;
using System;
using System.Collections.Generic;
@@ -17,6 +18,7 @@ namespace BodyshopUploader.ViewModels
public MainViewModel()
{
logger.Trace("Main VM Created.");
Growler = new GrowlNotification(this);
//Create Variables
if (MonitoringPaths == null) MonitoringPaths = new ObservableCollection<string>();
@@ -75,6 +77,17 @@ namespace BodyshopUploader.ViewModels
public async Task TestGql()
{
Notification _n = new Notification()
{
Id = 123,
ThreadId = 123,
Title = "This is a title",
Subtitle = "Subtitle",
Message = "Somethin"
};
Growler.AddNotification(_n);
var r = new GraphQLRequest
{
Query = @"