@@ -45,24 +45,12 @@ namespace Sentry
4545 public ByteAttachmentContent(byte[] bytes) { }
4646 public System.IO.Stream GetStream() { }
4747 }
48- public enum CaptureFeedbackErrorReason
48+ public enum CaptureFeedbackResult
4949 {
50- UnknownError = 0,
51- DisabledHub = 1,
52- EmptyMessage = 2,
53- }
54- public sealed class CaptureFeedbackResult
55- {
56- public CaptureFeedbackResult(Sentry.CaptureFeedbackErrorReason errorReason) { }
57- public CaptureFeedbackResult(Sentry.SentryId eventId) { }
58- public Sentry.CaptureFeedbackErrorReason? ErrorReason { get; }
59- public Sentry.SentryId EventId { get; }
60- public bool Succeeded { get; }
61- public bool Equals(Sentry.CaptureFeedbackResult? other) { }
62- public override bool Equals(object? obj) { }
63- public override int GetHashCode() { }
64- public static bool operator !=(Sentry.CaptureFeedbackResult? left, Sentry.CaptureFeedbackResult? right) { }
65- public static bool operator ==(Sentry.CaptureFeedbackResult? left, Sentry.CaptureFeedbackResult? right) { }
50+ Success = 0,
51+ UnknownError = 1,
52+ DisabledHub = 2,
53+ EmptyMessage = 3,
6654 }
6755 public enum CheckInStatus
6856 {
@@ -146,6 +134,7 @@ namespace Sentry
146134 public static void AddBreadcrumb(this Sentry.IHub hub, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
147135 public static void AddBreadcrumb(this Sentry.IHub hub, Sentry.Infrastructure.ISystemClock? clock, string message, string? category = null, string? type = null, System.Collections.Generic.IDictionary<string, string>? data = null, Sentry.BreadcrumbLevel level = 0) { }
148136 public static Sentry.SentryId CaptureException(this Sentry.IHub hub, System.Exception ex, System.Action<Sentry.Scope> configureScope) { }
137+ public static Sentry.SentryId CaptureFeedback(this Sentry.IHub hub, Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
149138 public static Sentry.SentryId CaptureMessage(this Sentry.IHub hub, string message, System.Action<Sentry.Scope> configureScope, Sentry.SentryLevel level = 1) { }
150139 public static void LockScope(this Sentry.IHub hub) { }
151140 public static System.IDisposable PushAndLockScope(this Sentry.IHub hub) { }
@@ -198,7 +187,7 @@ namespace Sentry
198187 void BindException(System.Exception exception, Sentry.ISpan span);
199188 Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action<Sentry.Scope> configureScope);
200189 Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action<Sentry.Scope> configureScope);
201- Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null);
190+ Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null);
202191 Sentry.TransactionContext ContinueTrace(Sentry.SentryTraceHeader? traceHeader, Sentry.BaggageHeader? baggageHeader, string? name = null, string? operation = null);
203192 Sentry.TransactionContext ContinueTrace(string? traceHeader, string? baggageHeader, string? name = null, string? operation = null);
204193 void EndSession(Sentry.SessionEndStatus status = 0);
@@ -225,7 +214,7 @@ namespace Sentry
225214 Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action<Sentry.SentryMonitorOptions>? configureMonitorOptions = null);
226215 bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope);
227216 Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null);
228- Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null);
217+ Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , Sentry.Scope? scope = null, Sentry.SentryHint? hint = null);
229218 void CaptureSession(Sentry.SessionUpdate sessionUpdate);
230219 void CaptureTransaction(Sentry.SentryTransaction transaction);
231220 void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint);
@@ -453,7 +442,7 @@ namespace Sentry
453442 public Sentry.SentryId CaptureCheckIn(string monitorSlug, Sentry.CheckInStatus status, Sentry.SentryId? sentryId = default, System.TimeSpan? duration = default, Sentry.Scope? scope = null, System.Action<Sentry.SentryMonitorOptions>? configureMonitorOptions = null) { }
454443 public bool CaptureEnvelope(Sentry.Protocol.Envelopes.Envelope envelope) { }
455444 public Sentry.SentryId CaptureEvent(Sentry.SentryEvent? @event, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
456- public Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
445+ public Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
457446 public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
458447 public void CaptureTransaction(Sentry.SentryTransaction transaction) { }
459448 public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { }
@@ -463,7 +452,8 @@ namespace Sentry
463452 public static class SentryClientExtensions
464453 {
465454 public static Sentry.SentryId CaptureException(this Sentry.ISentryClient client, System.Exception ex) { }
466- public static void CaptureFeedback(this Sentry.ISentryClient client, string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
455+ public static Sentry.SentryId CaptureFeedback(this Sentry.ISentryClient client, Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
456+ public static Sentry.SentryId CaptureFeedback(this Sentry.ISentryClient client, string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
467457 public static Sentry.SentryId CaptureMessage(this Sentry.ISentryClient client, string message, Sentry.SentryLevel level = 1) { }
468458 public static void Flush(this Sentry.ISentryClient client) { }
469459 public static void Flush(this Sentry.ISentryClient client, System.TimeSpan timeout) { }
@@ -833,9 +823,11 @@ namespace Sentry
833823 public static Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action<Sentry.Scope> configureScope) { }
834824 public static Sentry.SentryId CaptureException(System.Exception exception) { }
835825 public static Sentry.SentryId CaptureException(System.Exception exception, System.Action<Sentry.Scope> configureScope) { }
836- public static Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
837- public static Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
838- public static void CaptureFeedback(string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
826+ public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
827+ public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
828+ public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
829+ public static Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
830+ public static Sentry.SentryId CaptureFeedback(string message, string? contactEmail = null, string? name = null, string? replayId = null, string? url = null, Sentry.SentryId? associatedEventId = default, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
839831 public static Sentry.SentryId CaptureMessage(string message, Sentry.SentryLevel level = 1) { }
840832 public static Sentry.SentryId CaptureMessage(string message, System.Action<Sentry.Scope> configureScope, Sentry.SentryLevel level = 1) { }
841833 public static void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
@@ -1362,8 +1354,8 @@ namespace Sentry.Extensibility
13621354 public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, System.Action<Sentry.Scope> configureScope) { }
13631355 public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
13641356 public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action<Sentry.Scope> configureScope) { }
1365- public Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
1366- public Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
1357+ public Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
1358+ public Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
13671359 public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
13681360 public void CaptureTransaction(Sentry.SentryTransaction transaction) { }
13691361 public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { }
@@ -1412,8 +1404,8 @@ namespace Sentry.Extensibility
14121404 public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.Scope? scope, Sentry.SentryHint? hint = null) { }
14131405 public Sentry.SentryId CaptureEvent(Sentry.SentryEvent evt, Sentry.SentryHint? hint, System.Action<Sentry.Scope> configureScope) { }
14141406 public Sentry.SentryId CaptureException(System.Exception exception) { }
1415- public Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
1416- public Sentry.CaptureFeedbackResult CaptureFeedback(Sentry.SentryFeedback feedback, System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
1407+ public Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , Sentry.Scope? scope = null, Sentry.SentryHint? hint = null) { }
1408+ public Sentry.SentryId CaptureFeedback(Sentry.SentryFeedback feedback, out Sentry.CaptureFeedbackResult result , System.Action<Sentry.Scope> configureScope, Sentry.SentryHint? hint = null) { }
14171409 public void CaptureSession(Sentry.SessionUpdate sessionUpdate) { }
14181410 public void CaptureTransaction(Sentry.SentryTransaction transaction) { }
14191411 public void CaptureTransaction(Sentry.SentryTransaction transaction, Sentry.Scope? scope, Sentry.SentryHint? hint) { }
0 commit comments