Ejemplo n.º 1
0
 public virtual void OnPluginCrashed(PluginCrashedEventArgs eventArgs)
 {
     this.PluginCrashed?.Invoke(this, eventArgs);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The on plugin crashed.
 /// </summary>
 /// <param name="eventArgs">
 /// The event args.
 /// </param>
 public void OnPluginCrashed(PluginCrashedEventArgs eventArgs)
 {
     PluginCrashed?.Invoke(this, eventArgs);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Raises the <see cref="PluginCrashed"/> event.
 /// </summary>
 protected virtual void OnPluginCrashed( object sender, PluginCrashedEventArgs e )
 {
     if ( PluginCrashed != null )
         PluginCrashed( sender, e );
 }
Ejemplo n.º 4
0
        private void internalPluginCrashedCallback( IntPtr caller, IntPtr plugin_name )
        {
            PluginCrashedEventArgs e = new PluginCrashedEventArgs( StringHelper.ConvertAweString( plugin_name ) );
            this.OnPluginCrashed( this, e );

            CommandManager.InvalidateRequerySuggested();
        }
Ejemplo n.º 5
0
 private void internalPluginCrashedCallback( IntPtr caller, IntPtr plugin_name )
 {
     PluginCrashedEventArgs e = new PluginCrashedEventArgs( StringHelper.ConvertAweString( plugin_name ) );
     this.OnPluginCrashed( this, e );
 }