Example #1
0
 /// <summary>
 /// This hook gets called when the property it is attached to is having
 /// its usage generated.  You can override this method and manipulate the
 /// properties of the given usage info object.
 /// </summary>
 /// <param name="info">An object that you can use to manipulate the usage output.</param>
 public virtual void BeforeGenerateUsage(ArgumentUsageInfo info)
 {
     if (HookExecuting != null)
     {
         HookExecuting(info);
     }
 }
Example #2
0
 /// <summary>
 /// sets the ignroe flag on the info object
 /// </summary>
 /// <param name="info">the context used to modify the usage documentation</param>
 public override void BeforeGenerateUsage(ArgumentUsageInfo info)
 {
     // TODO P0 - Add a test that exercises this
     info.Ignore = true;
 }
Example #3
0
 /// <summary>
 /// sets the ignroe flag on the info object
 /// </summary>
 /// <param name="info">the context used to modify the usage documentation</param>
 public override void BeforeGenerateUsage(ArgumentUsageInfo info)
 {
     info.Ignore = true;
 }