Created
March 3, 2015 23:24
-
-
Save felixlindemann/4382f53d3b4378ed5662 to your computer and use it in GitHub Desktop.
EventArgs for R.Net executed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using RDotNet; | |
namespace RepertoryGrid.BaseClasses | |
{ | |
public delegate void RExececutedEventHandler(RExececutedEventArgs e); | |
public class RExececutedEventArgs : EventArgs | |
{ | |
public String RCmd { get; set; } | |
public String Output { get; set; } | |
public SymbolicExpression Result { get; set; } | |
public Exception RExececutedException { get; set; } | |
/// <summary> | |
/// | |
/// </summary> | |
/// <param name="c">The Executed Command</param> | |
/// <param name="o">The output reported from sink</param> | |
/// <param name="s">The returned Symbolic Expression</param> | |
/// <param name="ex">an Exception raised</param> | |
/// | |
public RExececutedEventArgs(String c, String o, SymbolicExpression s = null, Exception ex = null) | |
{ | |
this.RCmd = c; | |
this.Output = o; | |
this.Result = s; | |
this.RExececutedException = ex; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment