@@ -6,6 +6,9 @@ namespace AndreasReitberger.Shared.XForm.Core.Interfaces
66 public interface IEventManager
77 {
88 #region Properties
9+ #nullable enable
10+ IDispatcher ? Dispatcher { get ; set ; }
11+ #nullable disable
912 bool AllowCrashAnalyticsData { get ; set ; }
1013 bool AllowAnalyticsData { get ; set ; }
1114 bool HasCriticalError { get ; set ; }
@@ -14,12 +17,14 @@ public interface IEventManager
1417 #endregion
1518
1619 #region Methods
17- void LogError ( Exception exception , bool forceReport = false ) ;
18- void LogError ( AppErrorEvent error , bool forceReport = false ) ;
19- void LogInfo ( AppInfoEvent info , bool forceReport = false ) ;
20- void LogWarning ( AppWarningEvent warning , bool forceReport = false ) ;
21- void LogEvent ( AppEvent appEvent , bool forceReport = false ) ;
22- void Clear ( ) ;
20+ #nullable enable
21+ void LogError ( Exception exception , bool forceReport = false , IDispatcher ? dispatcher = null ) ;
22+ void LogError ( AppErrorEvent error , bool forceReport = false , IDispatcher ? dispatcher = null ) ;
23+ void LogInfo ( AppInfoEvent info , bool forceReport = false , IDispatcher ? dispatcher = null ) ;
24+ void LogWarning ( AppWarningEvent warning , bool forceReport = false , IDispatcher ? dispatcher = null ) ;
25+ void LogEvent ( AppEvent appEvent , bool forceReport = false , IDispatcher ? dispatcher = null ) ;
26+ void Clear ( IDispatcher ? dispatcher = null ) ;
27+ #nullable disable
2328 #endregion
2429 }
2530}
0 commit comments