Skip to content

Commit ecadf9a

Browse files
Merge pull request #270 from bording/enable-xmldoc-generation
Enable xmldoc generation
2 parents 16d4555 + 23adacd commit ecadf9a

File tree

8 files changed

+17
-13
lines changed

8 files changed

+17
-13
lines changed

projects/client/RabbitMQ.Client/project.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@
2121
},
2222
"buildOptions": {
2323
"warningsAsErrors": true,
24+
"nowarn": [ "CS1591" ],
2425
"compile": {
2526
"exclude": [
2627
"build"
2728
],
2829
"include": [
2930
"../../../gensrc/autogenerated-api-0-9-1.cs"
3031
]
31-
}
32+
},
33+
"xmlDoc": true
3234
},
3335
"dependencies": {},
3436
"frameworks": {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ public TimeSpan ContinuationTimeout
188188
}
189189

190190
/// <summary>
191-
/// Factory function for creating the <see cref="IEndpointResolver">
191+
/// Factory function for creating the <see cref="IEndpointResolver"/>
192192
/// used to generate a list of endpoints for the ConnectionFactory
193193
/// to try in order.
194-
/// The default value creates an instance of the <see cref="DefaultEndpointResolver">
194+
/// The default value creates an instance of the <see cref="DefaultEndpointResolver"/>
195195
/// using the list of endpoints passed in. The DefaultEndpointResolver shuffles the
196196
/// provided list each time it is requested.
197197
/// </summary>

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,23 @@ public class ConnectionFactoryBase
5959
public Func<AddressFamily, ITcpClient> SocketFactory = DefaultSocketFactory;
6060
#endif
6161

62+
#if NETFX_CORE
6263
/// <summary>
63-
/// Creates a new instance of the <see cref="TcpClient"/>.
64+
/// Creates a new instance of the <see cref="StreamSocket"/>.
6465
/// </summary>
65-
/// <param name="addressFamily">Specifies the addressing scheme.</param>
66-
/// <returns>New instance of a <see cref="TcpClient"/>.</returns>
67-
#if NETFX_CORE
66+
/// <returns>New instance of a <see cref="StreamSocket"/>.</returns>
6867
public static StreamSocket DefaultSocketFactory()
6968
{
7069
StreamSocket tcpClient = new StreamSocket();
7170
tcpClient.Control.NoDelay = true;
7271
return tcpClient;
7372
}
7473
#else
74+
/// <summary>
75+
/// Creates a new instance of the <see cref="TcpClient"/>.
76+
/// </summary>
77+
/// <param name="addressFamily">Specifies the addressing scheme.</param>
78+
/// <returns>New instance of a <see cref="TcpClient"/>.</returns>
7579
public static ITcpClient DefaultSocketFactory(AddressFamily addressFamily)
7680
{
7781
var socket = new Socket(addressFamily, SocketType.Stream, ProtocolType.Tcp)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public interface IModel : IDisposable
160160
/// operation to complete. This method will not return to the
161161
/// caller until the shutdown is complete.
162162
/// In comparison to normal <see cref="Close()"/> method, <see cref="Abort()"/> will not throw
163-
/// <see cref="Exceptions.AlreadyClosedException"/> or <see cref="IOException"/> or any other <see cref="Exception"/> during closing model.
163+
/// <see cref="Exceptions.AlreadyClosedException"/> or <see cref="System.IO.IOException"/> or any other <see cref="Exception"/> during closing model.
164164
/// </remarks>
165165
[AmqpMethodDoNotImplement(null)]
166166
void Abort();

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ namespace RabbitMQ.Client
5454
/// This interface is provided to make creation of test doubles
5555
/// for <see cref="QueueingBasicConsumer" /> easier.
5656
///</para>
57-
///<para>
5857
///</remarks>
5958
public interface IQueueingBasicConsumer
6059
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ namespace RabbitMQ.Client
6262
/// <para>
6363
/// When the consumer is closed, through BasicCancel or through
6464
/// the shutdown of the underlying <see cref="IModel"/> or <see cref="IConnection"/>,
65-
/// the <see cref="SharedQueue.Close"/> method is called, which causes any
65+
/// the <see cref="SharedQueue{T}.Close"/> method is called, which causes any
6666
/// Enqueue() operations, and Dequeue() operations when the queue
67-
/// is empty, to throw EndOfStreamException (see the comment for <see cref="SharedQueue.Close"/>).
67+
/// is empty, to throw EndOfStreamException (see the comment for <see cref="SharedQueue{T}.Close"/>).
6868
/// </para>
6969
/// <para>
7070
/// The following is a simple example of the usage of this class:

projects/client/RabbitMQ.Client/src/client/content/MapMessageReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public MapMessageReader(IBasicProperties properties, byte[] payload)
6565
///<summary>
6666
/// Parses the message body into an <see cref="IDictionary{TKey,TValue}"/> instance.
6767
/// </summary>
68-
/// <exception cref="System.Net.ProtocolViolationException"/>.
68+
/// <exception cref="RabbitMQ.Client.ProtocolViolationException"/>.
6969
public IDictionary<string, object> Body
7070
{
7171
get

projects/client/RabbitMQ.Client/src/client/messagepatterns/ISubscription.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ namespace RabbitMQ.Client.MessagePatterns
5050
/// This interface is provided to make creation of test doubles
5151
/// for <see cref="Subscription" /> easier.
5252
///</para>
53-
///<para>
5453
///</remarks>
5554
public interface ISubscription : IEnumerable, IEnumerator, IDisposable
5655
{

0 commit comments

Comments
 (0)