UiPath Documentation
marketplace
latest
false
Marketplace 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

活动剖析

重要提示:

本文档指的是适用于 Visual Studio 的 UiPath Activity Creator 的已弃用版本。请在此处查看新文档。

您已浏览过5 分钟的活动指南,并已设置完整的活动。现在,您可以了解所有构成文件的作用以及它们如何交织以形成 UiPath 活动。Visual Studio 中的每个活动解决方案都包含 3 个主要部分(称为项目):辅助部分、活动和设计器。

Auxiliary Project (Optional)

The first project contains all the custom classes in the activity namespace and which are referenced in the subsequent projects. These can include clients, custom datatypes, interfaces, exceptions, enums, auxiliary classes, etc. Because these are supporting files that may not exist in your particular activity, the Auxiliary project is optional.

Activity Project

此项目包含每个活动的执行逻辑。请注意,UiPath Studio 中的每个活动在 Visual Studio 中都有一个对应的文件。要了解每个文件,请参阅活动文件部分。

Designer Project

此项目包含活动的所有用户界面元素,包括自定义控件、主题(用于添加外观和样式)、转换器(用于将属性和数据绑定到用户界面元素的类)和活动用户界面。请注意,UiPath Studio 中的每个活动在 Visual Studio 中都有对应的XamlXaml.cs文件。

为了更好地理解这些文件,请参阅“设计器文件”部分。

此处还包括包的元数据文件:设计器元数据nuspec 。有关这些内容的更多信息,请参阅 “构建包”部分。

备注:

Notice the Shared folder below the other projects. This is a basket of handy classes and controls that can be used to speed up development. In fact, some are already incorporated into the projects you generated.

  • Auxiliary Project (Optional)
  • Activity Project
  • Designer Project

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新