Ejemplo n.º 1
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.GetXamlSourceInfo(binding), binding, source, bo, bp, errorCode, message, messageArgs));
 }
Ejemplo n.º 2
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));
 }