Beispiel #1
0
        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);
        }
Beispiel #2
0
 public async Task PostDumpData(DumpData dumpData)
 {
     await PostAsync <DumpData>(null, dumpData);
 }