Exemple #1
0
 protected override void EnsureRequired()
 {
     if (this.ContainerId == null)
     {
         throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("container-id", Open.Name));
     }
 }
Exemple #2
0
 protected override void EnsureRequired()
 {
     if (this.Condition.Value == null)
     {
         throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("condition", Error.Name));
     }
 }
Exemple #3
0
 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));
     }
 }
Exemple #5
0
 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));
     }
 }