-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gabriele Santomaggio <[email protected]>
- Loading branch information
1 parent
66db630
commit bf8f424
Showing
5 changed files
with
70 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
namespace RabbitMQ.AMQP.Client.Impl; | ||
|
||
public class AmqpExchangeSpecification : IExchangeSpecification | ||
{ | ||
|
||
private string _name = ""; | ||
private bool _autoDelete; | ||
private ExchangeType _type; | ||
private string _typeString = ""; | ||
|
||
|
||
public Task<IExchangeInfo> Declare() => throw new NotImplementedException(); | ||
|
||
public IExchangeSpecification Name(string name) | ||
{ | ||
_name = name; | ||
return this; | ||
} | ||
|
||
public IExchangeSpecification AutoDelete(bool autoDelete) | ||
{ | ||
_autoDelete = autoDelete; | ||
return this; | ||
} | ||
|
||
public IExchangeSpecification Type(ExchangeType type) | ||
{ | ||
_type = type; | ||
return this; | ||
} | ||
|
||
public IExchangeSpecification Type(string type) | ||
{ | ||
_typeString = type; | ||
return this; | ||
} | ||
|
||
public IExchangeSpecification Argument(string key, object value) => throw new NotImplementedException(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters