Example #1
0
 private void OnBindingFailed(BindingFailedEventArgs args)
 {
     BindingFailed?.Invoke(this, args);
 }
Example #2
0
 internal static void SendBindingFailure(BindingBase binding, object source, BindableObject bo, BindableProperty bp, string errorCode, string message, params object[] messageArgs)
 {
     Application.Current?.FindMauiContext()?.CreateLogger <BindingDiagnostics>()?.LogWarning(message, messageArgs);
     BindingFailed?.Invoke(null, new BindingErrorEventArgs(VisualDiagnostics.GetSourceInfo(binding), binding, source, bo, bp, errorCode, message, messageArgs));
 }
Example #3
0
 internal static void SendBindingFailure(BindingBase binding, object source, BindableObject bo, BindableProperty bp, string errorCode, string message, params object[] messageArgs)
 {
     Log.Warning(errorCode, message, messageArgs);
     BindingFailed?.Invoke(null, new BindingErrorEventArgs(VisualDiagnostics.GetXamlSourceInfo(binding), binding, source, bo, bp, errorCode, message, messageArgs));
 }
Example #4
0
 internal static void SendBindingFailure(BindingBase binding, string errorCode, string message, object[] messageArgs) =>
 BindingFailed?.Invoke(binding, new BindingBaseErrorEventArgs(VisualDiagnostics.GetXamlSourceInfo(binding), binding, errorCode, message, messageArgs));