Files
git-tfs/GitTfs/Core/RemoteInfo.cs
T
2014-02-06 15:35:03 +04:00

25 lines
843 B
C#

using System.Collections.Generic;
using Sep.Git.Tfs.Commands;
namespace Sep.Git.Tfs.Core
{
public class RemoteInfo
{
public string Id { get; set; }
public string Url { get; set; }
public string Repository { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string IgnoreRegex { get; set; }
public string IgnoreExceptRegex { get; set; }
public IEnumerable<string> Aliases { get; set; }
public bool Autotag { get; set; }
public RemoteOptions RemoteOptions
{
get { return new RemoteOptions { IgnoreRegex = IgnoreRegex, Username = Username, Password = Password }; }
set { IgnoreRegex = value.IgnoreRegex; Username = value.Username; Password = value.Password; }
}
}
}