Exemplo n.º 1
0
 /// <summary>
 /// Two DnsResourceDataDnsKey are equal iff their zone key, revoke, secure entry point, protocol, algorithm and public key fields are equal.
 /// </summary>
 public bool Equals(DnsResourceDataDnsKey other)
 {
     return(other != null &&
            ZoneKey.Equals(other.ZoneKey) &&
            Revoke.Equals(other.Revoke) &&
            SecureEntryPoint.Equals(other.SecureEntryPoint) &&
            Protocol.Equals(other.Protocol) &&
            Algorithm.Equals(other.Algorithm) &&
            PublicKey.Equals(other.PublicKey));
 }
        protected virtual void ARDunningLetter_RowSelected(PXCache sender, PXRowSelectedEventArgs e)
        {
            ARDunningLetter row      = (ARDunningLetter)e.Row;
            bool            released = row.Released == true;
            bool            voided   = row.Voided == true;

            sender.AllowDelete  = !released;
            Details.AllowDelete = !released;
            VoidLetter.SetEnabled(released && !voided);
            PrintLetter.SetEnabled(released && !voided);
            Revoke.SetEnabled(!released);
            Release.SetEnabled(!released);
        }
        public async Task <IActionResult> Revoke([FromBody] Revoke command)
        {
            await DispatchAsync(command);

            return(NoContent());
        }