@@ -76,14 +76,45 @@ public virtual Stash this[int index]
7676 }
7777 }
7878
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+
79110 /// <summary>
80111 /// Creates a stash with the specified message.
81112 /// </summary>
82113 /// <param name="stasher">The <see cref="Signature"/> of the user who stashes </param>
83114 /// <param name="message">The message of the stash.</param>
84115 /// <param name="options">A combination of <see cref="StashModifiers"/> flags</param>
85116 /// <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 )
87118 {
88119 Ensure . ArgumentNotNull ( stasher , "stasher" ) ;
89120
0 commit comments