Here are the examples of the csharp api System.Action.Invoke(Workflow) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : OpenProject.xaml.cs
with Mozilla Public License 2.0
from open-rpa
with Mozilla Public License 2.0
from open-rpa
private void ListWorkflows_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
Log.FunctionIndent("OpenProject", "ListWorkflows_MouseDoubleClick");
try
{
if (listWorkflows.SelectedItem is Workflow f)
{
onOpenWorkflow?.Invoke(f);
return;
}
//var p = (Project)listWorkflows.SelectedItem;
//if (p == null) return;
//onOpenProject?.Invoke(p);
}
catch (Exception ex)
{
Log.Error(ex.ToString());
}
Log.FunctionOutdent("OpenProject", "ListWorkflows_MouseDoubleClick");
}
19
Source : AgentViewProjects.xaml.cs
with Mozilla Public License 2.0
from open-rpa
with Mozilla Public License 2.0
from open-rpa
private void ListWorkflows_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
Log.FunctionIndent("AgentViewProjects", "ListWorkflows_MouseDoubleClick");
try
{
if (listWorkflows.SelectedItem is Workflow f)
{
onOpenWorkflow?.Invoke(f);
return;
}
var p = (Project)listWorkflows.SelectedItem;
if (p == null) return;
onOpenProject?.Invoke(p);
}
catch (Exception ex)
{
Log.Error(ex.ToString());
}
Log.FunctionOutdent("AgentViewProjects", "ListWorkflows_MouseDoubleClick");
}