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