public async Task LoadSourceFileConfiguration() { SequencerAPI sapi = new SequencerAPI(); string sourcefileJson = await sapi.GetFiles(Source_UID); sourceFiles.Add(JsonConvert.DeserializeObject <SourceFileConfiguration>(sourcefileJson)); }
public async Task <List <SourceFileDefinition> > LoadFileDefinition(Guid fileUid) { SequencerAPI sapi = new SequencerAPI(); string sourcedefintionJson = await sapi.GetFileDefinition(fileUid); return(JsonConvert.DeserializeObject <List <SourceFileDefinition> >(sourcedefintionJson)); }