protected virtual void OnGrowBuffers(SizeQuota bufferSizeQuota) { bufferSizeQuota.Alloc(this.senderIdLength.Value); this.senderId.EnsureBufferLength(this.senderIdLength.Value); bufferSizeQuota.Alloc(this.senderCertificateLength.Value); this.senderCertificate.EnsureBufferLength(this.senderCertificateLength.Value); bufferSizeQuota.Alloc(this.bodyLength.Value); this.body.EnsureBufferLength(this.bodyLength.Value); }
protected override void OnGrowBuffers(SizeQuota bufferSizeQuota) { base.OnGrowBuffers(bufferSizeQuota); this.adminQueue.EnsureValueLength(this.adminQueueLength.Value); this.responseFormatName.EnsureValueLength(this.responseFormatNameLength.Value); this.destinationQueue.EnsureValueLength(this.destinationQueueLength.Value); this.label.EnsureValueLength(this.labelLength.Value); bufferSizeQuota.Alloc(this.extensionLength.Value); this.extension.EnsureBufferLength(this.extensionLength.Value); }