这可能是多个用户可以在vsts中的单个页面(aspx或.cs文件)上工作 [英] Is this possible that multiple users can work on a single page (aspx or .cs file) in vsts

查看:117
本文介绍了这可能是多个用户可以在vsts中的单个页面(aspx或.cs文件)上工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

受尊敬的专业人士



在多个用户可以在单个页面(aspx或.cs文件)上工作的活动中是否可行。我记得在vsts中不可能在一个用户结账后,另一个用户无法在该页面上工作,直到用户登记。





关注

解决方案

是的,您可以让多个用户处理同一个文件。

您可以通过选择修改来合并更改用户已经签到。

如果页面被锁定,另一个用户无法编辑同一个文件。


是的,这是可能的,如Shona22所述,你有合并更改。


您好用户/来宾,



在使用tfs的Visual Studio中,您和您的团队可以在同一个通过在类中添加''Partial''关键字来拆分文件,并为一个cs文件创建多个文件,并且多个团队成员一次在不同的方法上处理多个方法。因此,您可以在Dot Net Feature和Utilize中使用分部类你的团队资源。



Par的例子C#中的tial类: -



公共部门班员工

{

public void DoWork()

{

}

}



//这个位在另一个文件中

公共部分班级员工

{

public void GoToLunch()

{

}

}



就像你可以用多个FileName将你的方法划分为多个文件并由Separate Team Member处理每个文件。



---------------------------------- -----------

问候,

Rahul Kumar,

Rahulinbscit@yahoo.co.in

Respected professionals

Is it possible in vsts that multiple users can work on a single page (aspx or .cs file). As i remember it is not possible in vsts that after checking out by one user another user cannot work on that page until the user check in.


Regards

解决方案

Yes you can Have multiple users working on same file.
You can Merge changes by opting for modification incase any user has checked in.
Incase the page is locked,another user cannot edit the same file.


Yes that is possible and as mentioned by Shona22, you have to merge the changes.


Hi User/Guest,

In Visual Studio with tfs you & your team can work on same file by splitting file by adding ''Partial'' Keyword in the class and make multiple file for the one cs file and multiple team member work on multiple method at a time in different.so you can use partial class in Dot Net Feature and Utilize your Team Resource.

Example of Partial Class in C# :-

public partial class Employee
{
public void DoWork()
{
}
}

//this bit in another file
public partial class Employee
{
public void GoToLunch()
{
}
}

In that like you can Divide your Method in multiple file with multiple FileName and Work on the Each file by Separate Team Member.

---------------------------------------------
Regards,
Rahul Kumar,
Rahulinbscit@yahoo.co.in


这篇关于这可能是多个用户可以在vsts中的单个页面(aspx或.cs文件)上工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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