Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
namespace Microsoft.Azure.PowerShell.Tools.AzPredictor
{
/// <summary>
/// A cmdlet that disable Az Predictor.
/// <para type="synopsis"> Cmdlet to disable Az Predictor and stop recieving suggestions</para>
/// <para type="description"> Use this cmdlet to disable Az Predictor and stop recieving suggestions</para>
/// </summary>
[Cmdlet("Disable", "AzPredictor")]
public sealed class DisableAzPredictor : PSCmdlet
Expand All @@ -28,13 +29,13 @@ public sealed class DisableAzPredictor : PSCmdlet
};

/// <summary>
/// Indicates whether it's applied to all sessions.
/// <para type="description"> Disable Az Predictor for the curent and future PowerShell sessions.</para>
/// </summary>
[Parameter(Mandatory = false)]
public SwitchParameter AllSession { get; set; }

/// <summary>
/// Indicates whether the user would like to receive output.
/// <para type="description"> Indicates whether the user would like to receive output. </para>
/// </summary>
[Parameter(Mandatory = false)]
public SwitchParameter PassThru { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
namespace Microsoft.Azure.PowerShell.Tools.AzPredictor
{
/// <summary>
/// A cmdlet that enables Az Predictor with default settings.
/// <para type="synopsis"> Cmdlet to enable Az Predictor and start recieving suggestions</para>
/// <para type="description"> Use this cmdlet to enable Az Predictor and start recieving suggestions</para>
/// </summary>
[Cmdlet("Enable", "AzPredictor"), OutputType(typeof(bool))]
public sealed class EnableAzPredictor : PSCmdlet
Expand All @@ -29,13 +30,13 @@ public sealed class EnableAzPredictor : PSCmdlet
};

/// <summary>
/// Indicates whether it's applied to all sessions.
/// <para type="description"> Enable Az Predictor for the current and futrue PowerShell sessions.</para>
/// </summary>
[Parameter(Mandatory = false)]
public SwitchParameter AllSession { get; set; }

/// <summary>
/// Indicates whether the user would like to receive output.
/// <para type="description"> Indicates whether the user would like to receive output. </para>
/// </summary>
[Parameter(Mandatory = false)]
public SwitchParameter PassThru { get; set; }
Expand Down