public override void ExecuteCmdlet()
{
base.ExecuteCmdlet();
var frontendPort = this.ApplicationGateway.FrontendPorts.SingleOrDefault
(resource => string.Equals(resource.Name, this.Name, System.StringComparison.CurrentCultureIgnoreCase));
if (frontendPort != null)
{
this.ApplicationGateway.FrontendPorts.Remove(frontendPort);
}
WriteObject(this.ApplicationGateway);
}
}