public void TearDown(MachineOperator mo)
 {
     MachineOperator.WriteMessage("WorkbenchScript: mo_OnClosing");
     CloseLog();
 }
Beispiel #2
0
 public void LogEnter([Argument(Source.Name)] string name)
 {
     MachineOperator.WriteMessage($"OnExit '{name}'");
 }
Beispiel #3
0
 public void LogEnter([Argument(Source.Arguments)] object[] args)
 {
     MachineOperator.WriteMessage($"Trigger '{args[0].ToString()}'");
 }
Beispiel #4
0
 [Advice(Kind.Before)]   // you can have also After (async-aware), and Around(Wrap/Instead) kinds
 public void LogEnter([Argument(Source.Name)] string name)
 {
     MachineOperator.WriteMessage($"OnEntry '{name}'");     //you can debug it
 }