Skip to content

Commit 1f98aa8

Browse files
Add Summary
1 parent bbc182c commit 1f98aa8

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Simple.API/ClientBuilder.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ namespace Simple.API;
99
using System.Reflection;
1010
using System.Threading.Tasks;
1111

12+
/// <summary>
13+
/// Creates a new Client instance
14+
/// </summary>
1215
public class ClientBuilder : DispatchProxy
1316
{
1417
static readonly Type TypeOfTask = typeof(Task);
@@ -26,7 +29,9 @@ public class ClientBuilder : DispatchProxy
2629
.First(); // Exception if not found
2730

2831
internal ClientInfo client;
29-
32+
/// <summary>
33+
/// Creates a new instance for the specified Interface
34+
/// </summary>
3035
public static T Create<T>(string uri, HttpMessageHandler clientHandler = null)
3136
where T : class
3237
{
@@ -47,7 +52,10 @@ public static T Create<T>(string uri, HttpMessageHandler clientHandler = null)
4752

4853
return proxy;
4954
}
50-
55+
/// <summary>
56+
/// Whenever any method on the generated proxy type is called, this method
57+
/// will be invoked to dispatch control.
58+
/// </summary>
5159
protected override object Invoke(MethodInfo targetMethod, object[] args)
5260
{
5361
// Internal Methods

0 commit comments

Comments
 (0)