如何在BRE中使用多个ArrayList .NET对象? [英] How to use Multiple ArrayList .NET object in BRE?

查看:54
本文介绍了如何在BRE中使用多个ArrayList .NET对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有没有办法在BRE政策中使用多个ArrayList对象?

Is there a way to use multiple ArrayList objects inside BRE Policy ?

我创建了一个要添加的策略单个ArrayList有2个项目。它按预期工作。

I created a policy to add 2 items to a single ArrayList. It is working as expected.

然后我为ArrayList.Add创建了一个词汇表和2个词汇表定义(具有不同的名称)。我修改了策略,以便在每个词汇表中添加一个项目。

Then I created a Vocabulary And 2 Vocabulary Definition (with different names) for ArrayList.Add. I modified the policy such that one item is added to each of the Vocabulary.

当我以编程方式调用BRE策略进行测试时,我看到两个词汇事实已填充相同的项目。 ie)相同数组列表中的2个项目。

When I test by Calling BRE Policy programatically, I see that both vocabulary facts have same items populated. ie) 2 items in same array list.

只是重复。

 我在做什么错了? IS 有另一种方式。

 Am I doing anything wrong ? Is  there an alternative way.

感谢您的帮助。

thanks for your help.

推荐答案

您好Prabath,

Hi Prabath,

转到事实资源管理器窗口

选择.NET类

右键单击并浏览.NET程序集

选择mscorlib库

按OK

Go to facts explorer window
Select .NET classes
Right-click and browse .NET Assemblies
Select the mscorlib library
Press OK

图书馆将可用,你可以在你的BRE中使用arraylist

The library will become available and you can use arraylist in your BRE

谢谢

Abhishek


这篇关于如何在BRE中使用多个ArrayList .NET对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆