/// <summary> /// Returns a <see cref="string" /> that represents this instance. /// </summary> /// <returns>A <see cref="string" /> that represents this instance.</returns> public override string ToString() { var sb = new StringBuilder(); sb.AppendLine($"SEND TO {EntityType.ToString().ToUpper() }"); sb.Append(" MaxEntitySizeMb: "); sb.AppendLine(MaxEntitySizeMb.ToString()); sb.AppendLine($" MaxMessageBatchSizeKb: {MaxMessageBatchSizeKb} ({MaxMessageBatchSizeMb} Mb)"); sb.AppendLine(base.ToString()); return(sb.ToString()); }
/// <summary> /// Returns a <see cref="string" /> that represents this instance. /// </summary> /// <returns>A <see cref="string" /> that represents this instance.</returns> public override string ToString() { var sb = new StringBuilder(); sb.AppendLine($"RECEIVE FROM {EntityType.ToString().ToUpper() }"); sb.AppendLine(base.ToString()); sb.Append(" ReceiverFullPath: "); sb.AppendLine(ReceiverFullPath); sb.Append(" MaxEntitySizeMb: "); sb.AppendLine(MaxEntitySizeMb.ToString()); sb.Append(" MaxLockDurationSeconds: "); sb.AppendLine(MaxLockDuration.Seconds.ToString()); return(sb.ToString()); }