@@ -271,14 +271,16 @@ public CommandOption? OptionHelp
271271 /// This property has been marked as obsolete and will be removed in a future version.
272272 /// The recommended replacement for setting this property is <see cref="OnExecute(Func{int})" />
273273 /// and for invoking this property is <see cref="Execute(string[])" />.
274+ /// See https://github.com/natemcmaster/CommandLineUtils/issues/275 for details.
274275 /// </para>
275276 /// <para>
276277 /// The action to call when this command is matched and <see cref="IsShowingInformation"/> is <c>false</c>.
277278 /// </para>
278279 /// </summary>
279280 [ Obsolete ( "This property has been marked as obsolete and will be removed in a future version. " +
280281 "The recommended replacement for setting this property is OnExecute(Func<int>) " +
281- "and for invoking this property is Execute(string[] args)." ) ]
282+ "and for invoking this property is Execute(string[] args). " +
283+ "See https://github.com/natemcmaster/CommandLineUtils/issues/275 for details." ) ]
282284 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
283285 public Func < int > Invoke
284286 {
@@ -687,14 +689,16 @@ public void OnExecute(Func<int> invoke)
687689 /// <para>
688690 /// This method is obsolete and will be removed in a future version.
689691 /// The recommended alternative is <see cref="OnExecuteAsync" />.
692+ /// See https://github.com/natemcmaster/CommandLineUtils/issues/275 for details.
690693 /// </para>
691694 /// <para>
692695 /// Defines an asynchronous callback.
693696 /// </para>
694697 /// </summary>
695698 /// <param name="invoke"></param>
696699 [ Obsolete ( "This method is obsolete and will be removed in a future version. " +
697- "The recommended replacement is .OnExecuteAsync()" ) ]
700+ "The recommended replacement is .OnExecuteAsync(). " +
701+ "See https://github.com/natemcmaster/CommandLineUtils/issues/275 for details." ) ]
698702 [ EditorBrowsable ( EditorBrowsableState . Never ) ]
699703 public void OnExecute ( Func < Task < int > > invoke ) => OnExecuteAsync ( _ => invoke ( ) ) ;
700704
0 commit comments