129a5286c0
- Updated RemoteInfo so that properties are correctly set/retrieved when interacting with the RemoteOptions property - Added some unit test to check for expected functionality - Updated NEXT.md
25 lines
915 B
C#
25 lines
915 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, ExceptRegex = IgnoreExceptRegex, Username = Username, Password = Password }; }
|
|
set { IgnoreRegex = value.IgnoreRegex; IgnoreExceptRegex = value.ExceptRegex; Username = value.Username; Password = value.Password; }
|
|
}
|
|
}
|
|
}
|