.NET包装Perforce的API? [英] .net wrapper for Perforce API?

查看:111
本文介绍了.NET包装Perforce的API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在开发的.NET 4的应用程序,它具有与Perforce的服务器进行交互。

I'm currently developing an application in .NET 4 which has to interact with a Perforce server.

我的团队previously开发某种使用Perforce的API包装的,但它缺少了不少的用例,并不能正确处理异常。总之,它不是东西,我真的可以原样使用,因为这需要相当大的努力,使之为防弹成为可能。

My team previously developed some sort of wrapper using the Perforce API, but its missing quite a few use-cases and doesn't properly handle exceptions. In short, it's not something that I can really use as-is, as it would require considerable effort to make it as "bullet-proof" as possible.

我想知道是否有存在的.NET其妥善处理异常的Perforce的API包装?

I was wondering if there's a Perforce API wrapper that exists for .NET which properly handles exceptions ?

当我评价我们的内部包装的可用性,我想出了例外和用例的列表,我们的应用程序需要处理(和包装就需要抛出)。

As I was evaluating the usability of our in-house wrapper, I came up with a list of exceptions and use-cases our application would need to handle (and the wrapper would need to throw).

该列表是相当详尽,这促使我想知道如果某种封装已经存在了。

The list was quite exhaustive, which prompted me to wonder if some sort of wrapper already existed.

推荐答案

您可能要检查出的<一个href="http://www.perforce.com/downloads/Perforce-Software-Version-Management/complete_list/Customer%20Downloads?qt-perforce_downloads_step_3=3#qt-perforce_downloads_step_3#48"相对=nofollow> P4API.NET 的文库,其由Perforce的提供。或者你可以使用 P4.NET 库,它是不是从Perforce公司正式发布,但已经出现了一段时间。

You might want to check out the P4API.NET library, which is provided by Perforce. Or you could use the P4.NET library, which isn't an official release from Perforce, but has been around for a while.

我用P4.NET几次,一直pretty的高兴。你可以在.NET 4库这里,因为我相信原来的图书馆只有寻求支持。 NET 2。

I've used P4.NET several times, and been pretty happy with it. You can get the .NET 4 libraries here, as I believe the original library only had support for .NET 2.

这篇关于.NET包装Perforce的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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