Skip to content

Commit 1e9997e

Browse files
Untabify
1 parent 7a67372 commit 1e9997e

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

projects/client/RabbitMQ.Client/src/client/api/IModel.cs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ void ExchangeDeclare(string exchange,
181181
[AmqpMethodDoNotImplement(null)]
182182
void ExchangeDeclarePassive(string exchange);
183183

184-
/// <summary>
185-
/// Same as ExchangeDeclare but sets nowait to true and returns void (as there
186-
/// will be no response from the server).
187-
/// </summary>
188-
void ExchangeDeclareNowait(string exchange,
189-
string type,
190-
bool durable,
191-
bool autoDelete,
192-
IDictionary<string, object> arguments);
184+
/// <summary>
185+
/// Same as ExchangeDeclare but sets nowait to true and returns void (as there
186+
/// will be no response from the server).
187+
/// </summary>
188+
void ExchangeDeclareNowait(string exchange,
189+
string type,
190+
bool durable,
191+
bool autoDelete,
192+
IDictionary<string, object> arguments);
193193

194194
///<summary>(Spec method) Delete an exchange.</summary>
195195
[AmqpMethodDoNotImplement(null)]
@@ -251,12 +251,13 @@ void ExchangeUnbind(string destination,
251251
[AmqpMethodDoNotImplement(null)]
252252
QueueDeclareOk QueueDeclare(string queue, bool durable, bool exclusive,
253253
bool autoDelete, IDictionary<string, object> arguments);
254-
/// <summary>
255-
/// Same as QueueDeclare but sets nowait to true and returns void (as there
256-
/// will be no response from the server).
257-
/// </summary>
258-
void QueueDeclareNowait(string queue, bool durable, bool exclusive,
259-
bool autoDelete, IDictionary<string, object> arguments);
254+
255+
/// <summary>
256+
/// Same as QueueDeclare but sets nowait to true and returns void (as there
257+
/// will be no response from the server).
258+
/// </summary>
259+
void QueueDeclareNowait(string queue, bool durable, bool exclusive,
260+
bool autoDelete, IDictionary<string, object> arguments);
260261

261262
///<summary>(Spec method) Bind a queue to an exchange.</summary>
262263
[AmqpMethodDoNotImplement(null)]

projects/client/Unit/src/unit/TestExchangeDeclare.cs

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,17 @@ public void TestConcurrentQueueDeclare()
8686
Model.ExchangeDelete(x);
8787
}
8888

89-
[Test]
90-
public void TestExchangeDeclareNowait()
91-
{
92-
string x = GenerateExchangeName ();
93-
try
94-
{
95-
Model.ExchangeDeclareNowait(x, "fanout", false, true, null);
96-
Model.ExchangeDeclarePassive(x);
97-
} finally {
98-
Model.ExchangeDelete(x);
99-
}
100-
101-
}
89+
[Test]
90+
public void TestExchangeDeclareNowait()
91+
{
92+
string x = GenerateExchangeName ();
93+
try
94+
{
95+
Model.ExchangeDeclareNowait(x, "fanout", false, true, null);
96+
Model.ExchangeDeclarePassive(x);
97+
} finally {
98+
Model.ExchangeDelete(x);
99+
}
100+
}
102101
}
103102
}

projects/client/Unit/src/unit/TestQueueDeclare.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ public void TestConcurrentQueueDeclare()
8686
Model.QueueDelete(q);
8787
}
8888

89-
[Test]
90-
public void TestQueueDeclareNowait()
91-
{
92-
string q = GenerateQueueName ();
93-
Model.QueueDeclareNowait(q, false, true, false, null);
94-
Model.QueueDeclarePassive(q);
95-
}
89+
[Test]
90+
public void TestQueueDeclareNowait()
91+
{
92+
string q = GenerateQueueName ();
93+
Model.QueueDeclareNowait(q, false, true, false, null);
94+
Model.QueueDeclarePassive(q);
95+
}
9696
}
9797
}

0 commit comments

Comments
 (0)