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

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