File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ public class Remote : IEquatable<Remote>
12
12
private static readonly LambdaEqualityHelper < Remote > equalityHelper =
13
13
new LambdaEqualityHelper < Remote > ( new Func < Remote , object > [ ] { x => x . Name , x => x . Url } ) ;
14
14
15
+ /// <summary>
16
+ /// Needed for mocking purposes.
17
+ /// </summary>
18
+ protected Remote ( )
19
+ { }
20
+
15
21
internal static Remote CreateFromPtr ( RemoteSafeHandle handle )
16
22
{
17
23
if ( handle == null )
@@ -34,12 +40,12 @@ internal static Remote CreateFromPtr(RemoteSafeHandle handle)
34
40
/// <summary>
35
41
/// Gets the alias of this remote repository.
36
42
/// </summary>
37
- public string Name { get ; private set ; }
43
+ public virtual string Name { get ; private set ; }
38
44
39
45
/// <summary>
40
46
/// Gets the url to use to communicate with this remote repository.
41
47
/// </summary>
42
- public string Url { get ; private set ; }
48
+ public virtual string Url { get ; private set ; }
43
49
44
50
/// <summary>
45
51
/// Determines whether the specified <see cref = "Object" /> is equal to the current <see cref = "Remote" />.
You can’t perform that action at this time.
0 commit comments