public virtual async Task <DumpData> CreateDumpDataAsync() { var dumpMetaData = await GetDumpMetaDataAsync(); var configuration = await GetConfigurationAsync(); var dumpData = new DumpData(); dumpData.ApplicationName = string.IsNullOrEmpty(configuration.ApplicationName) ? dumpMetaData.ApplicationName : configuration.ApplicationName; dumpData.ApplicationVersion = dumpMetaData.ApplicationVersion; dumpData.DeviceId = dumpMetaData.DeviceId; dumpData.UserId = dumpMetaData.UserId; return(dumpData); }
public async Task PostDumpData(DumpData dumpData) { await PostAsync <DumpData>(null, dumpData); }