예제 #1
0
 protected override void EnsureRequired()
 {
     if (this.ContainerId == null)
     {
         throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("container-id", Open.Name));
     }
 }
예제 #2
0
 protected override void EnsureRequired()
 {
     if (this.Condition.Value == null)
     {
         throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("condition", Error.Name));
     }
 }
예제 #3
0
 protected override void EnsureRequired()
 {
     if (!base.Handle.HasValue)
     {
         throw AmqpEncoding.GetEncodingException(SRAmqp.AmqpRequiredFieldNotSet("handle", Transfer.Name));
     }
 }
예제 #4
0
 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));
     }
 }
예제 #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));
     }
 }