通用功能管理 [英] Comman function management

查看:161
本文介绍了通用功能管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

继续我的上一篇文章,

我们有,
两个项目使用了相同的功能,
那就是如果我有项目ABC和PQR
使用
IsNumeric()函数至今仍需要两个函数副本,一个在ABC中,一个在PQR中.
而不是我需要IsNumeric()作为可被ABC和PQR使用的Microsoft Visual Studio函数.
谢谢和问候
santosh

With continue to my previous post,

We have,
Two project used same function,
that is if i have project ABC and PQR
using
IsNumeric() function so still date we need two copy of function one in ABC and one in PQR .
instead of that i need IsNumeric() as microsoft visual studio function that can used by both ABC and PQR

thanks and regard
santosh

推荐答案

我们使用SourceSafe的共享"功能将公用文件的共享副本放入两个(或多个)项目中. SourceSafe维护模块的单个副本,但是两个项目都有一个副本. SourceSafe获取最新"命令将它们同步.

我敢肯定其他代码管理工具也提供类似的功能,但由于我只使用SourceSafe而无法具体说明.
We use SourceSafe''s "share" feature to place a shared copy of the common file(s) into both (or several) projects. SourceSafe maintains a single copy of the module but both projects have a copy. A SourceSafe "Get Latest" command synchronizes them.

I''m sure other code management tools provide similar features but I can''t be specific because I only use SourceSafe.


或者,您也可以将该函数放在库项目中,即由两个目标项目共享.

库是用于创建项目共享代码库的一种标准方法.
Alternatively you can put the function in a library project, that is shared by both target projects.

Libraries are one standard method for creating shared code bases for projects.


共享库用于这种情况:
共享库 [ ^ ]
http://wfrakes.wordpress.com/category/reusable-assets/ [
Shared libraries are used for this kind of situation:
Shared Libraries[^]
http://wfrakes.wordpress.com/category/reusable-assets/[^]


这篇关于通用功能管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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