You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <c>AfterToJson</c> will be called after the json serialization has finished, allowing customization of the <see cref="Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Json.JsonObject"
12
-
/// /> before it is returned. Implement this method in a partial class to enable this behavior
13
-
/// </summary>
14
-
/// <param name="container">The JSON container that the serialization result will be placed in.</param>
15
-
partialvoidAfterToJson(refJsonObjectcontainer)
16
-
{
17
-
// The PUT operation doesn't like when the TypeHandlerVersion is more than 2 decimals in the version.
if ($null-ne$MyInvocation.MyCommand-and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains$MyInvocation.MyCommand.Name-and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo,$MyInvocation)){
if ($null-ne$MyInvocation.MyCommand-and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains$MyInvocation.MyCommand.Name-and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo,$MyInvocation)){
if ($null-ne$MyInvocation.MyCommand-and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains$MyInvocation.MyCommand.Name-and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo,$MyInvocation)){
if ($null-ne$MyInvocation.MyCommand-and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains$MyInvocation.MyCommand.Name-and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo,$MyInvocation)){
if ($null-ne$MyInvocation.MyCommand-and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains$MyInvocation.MyCommand.Name-and [Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo,$MyInvocation)){
0 commit comments