@@ -76,14 +76,45 @@ public virtual Stash this[int index]
76
76
}
77
77
}
78
78
79
+ /// <summary>
80
+ /// Creates a stash with the specified message.
81
+ /// </summary>
82
+ /// <param name="stasher">The <see cref="Signature"/> of the user who stashes </param>
83
+ /// <returns>the newly created <see cref="Stash"/></returns>
84
+ public virtual Stash Add ( Signature stasher )
85
+ {
86
+ return Add ( stasher , null , StashModifiers . Default ) ;
87
+ }
88
+ /// <summary>
89
+ /// Creates a stash with the specified message.
90
+ /// </summary>
91
+ /// <param name="stasher">The <see cref="Signature"/> of the user who stashes </param>
92
+ /// <param name="options">A combination of <see cref="StashModifiers"/> flags</param>
93
+ /// <returns>the newly created <see cref="Stash"/></returns>
94
+ public virtual Stash Add ( Signature stasher , StashModifiers options )
95
+ {
96
+ return Add ( stasher , null , options ) ;
97
+ }
98
+
99
+ /// <summary>
100
+ /// Creates a stash with the specified message.
101
+ /// </summary>
102
+ /// <param name="stasher">The <see cref="Signature"/> of the user who stashes </param>
103
+ /// <param name="message">The message of the stash.</param>
104
+ /// <returns>the newly created <see cref="Stash"/></returns>
105
+ public virtual Stash Add ( Signature stasher , string message )
106
+ {
107
+ return Add ( stasher , message , StashModifiers . Default ) ;
108
+ }
109
+
79
110
/// <summary>
80
111
/// Creates a stash with the specified message.
81
112
/// </summary>
82
113
/// <param name="stasher">The <see cref="Signature"/> of the user who stashes </param>
83
114
/// <param name="message">The message of the stash.</param>
84
115
/// <param name="options">A combination of <see cref="StashModifiers"/> flags</param>
85
116
/// <returns>the newly created <see cref="Stash"/></returns>
86
- public virtual Stash Add ( Signature stasher , string message = null , StashModifiers options = StashModifiers . Default )
117
+ public virtual Stash Add ( Signature stasher , string message , StashModifiers options )
87
118
{
88
119
Ensure . ArgumentNotNull ( stasher , "stasher" ) ;
89
120
0 commit comments