protected override void EnsureRequired() { if (this.ContainerId == null) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("container-id", Open.Name)); } }
protected override void EnsureRequired() { if (this.Condition.Value == null) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("condition", Error.Name)); } }
protected override void EnsureRequired() { if (!base.Handle.HasValue) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("handle", Transfer.Name)); } }
protected override void EnsureRequired() { if (!this.Role.HasValue) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("role", Disposition.Name)); } if (!this.First.HasValue) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("first", Disposition.Name)); } }
protected override void EnsureRequired() { if (this.LinkName == null) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("name", Attach.Name)); } if (!base.Handle.HasValue) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("handle", Attach.Name)); } if (!this.Role.HasValue) { throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("role", Attach.Name)); } }