如何访问 UiPath 中使用的 .NET 代码?

How to access the .NET code used in UiPath?

在使用 编写自动化时,有没有办法查看一些代码? 我在 UiPath Studio 中有以下内容:

有没有办法在 :

中查看看起来像这样或类似内容的代码
Sub Main

    Dim year as Integer
    year = InputBox()
    If year mod 4 = 0 Then           'the rule for leap year is a bit different.
        MsgBox "It is leap"
    Else
        MsgBox "It is not leap"
    End If

End Sub

我浏览了互联网,但到目前为止我只找到了 XAML 代码,用于创建框。我的逻辑(或希望)是,如果 UiPath Studio 使用 VB 表达式,那么应该可以看到生成的代码:

UiPath Studio 自动 "translates" 图表 :

因此,上图的 XAML 代码如下所示:

<Flowchart.Variables>
  <Variable x:TypeArguments="x:Int32" Default="2013" Name="year" />
</Flowchart.Variables>
<Flowchart.StartNode>
  <x:Reference>__ReferenceID3</x:Reference>
</Flowchart.StartNode>
<FlowDecision x:Name="__ReferenceID2" Condition="[year mod 4 = 0]" sap2010:WorkflowViewState.IdRef="FlowDecision_1">
  <FlowDecision.True>
    <FlowStep x:Name="__ReferenceID0" sap2010:WorkflowViewState.IdRef="FlowStep_2">
      <ui:MessageBox ChosenButton="{x:Null}" Buttons="Ok" Caption="It Is" DisplayName="Message box" sap2010:WorkflowViewState.IdRef="MessageBox_2" Text="It Is" TopMost="True" />
    </FlowStep>
  </FlowDecision.True>
  <FlowDecision.False>
    <FlowStep x:Name="__ReferenceID1" sap2010:WorkflowViewState.IdRef="FlowStep_4">
      <ui:MessageBox ChosenButton="{x:Null}" Buttons="Ok" Caption="It Is Not" DisplayName="Message box" sap2010:WorkflowViewState.IdRef="MessageBox_4" Text="It Is Not" TopMost="True" />
    </FlowStep>
  </FlowDecision.False>
</FlowDecision>