-
Notifications
You must be signed in to change notification settings - Fork 256
/
IAzureClientFactoryBuilderWithCredential.xml
86 lines (86 loc) · 5.53 KB
/
IAzureClientFactoryBuilderWithCredential.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<Type Name="IAzureClientFactoryBuilderWithCredential" FullName="Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential">
<TypeSignature Language="C#" Value="public interface IAzureClientFactoryBuilderWithCredential" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IAzureClientFactoryBuilderWithCredential" />
<TypeSignature Language="DocId" Value="T:Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential" />
<TypeSignature Language="VB.NET" Value="Public Interface IAzureClientFactoryBuilderWithCredential" />
<TypeSignature Language="F#" Value="type IAzureClientFactoryBuilderWithCredential = interface" />
<AssemblyInfo>
<AssemblyName>Azure.Core</AssemblyName>
<AssemblyVersion>1.13.0.0</AssemblyVersion>
<AssemblyVersion>1.14.0.0</AssemblyVersion>
<AssemblyVersion>1.15.0.0</AssemblyVersion>
<AssemblyVersion>1.16.0.0</AssemblyVersion>
<AssemblyVersion>1.17.0.0</AssemblyVersion>
<AssemblyVersion>1.18.0.0</AssemblyVersion>
<AssemblyVersion>1.19.0.0</AssemblyVersion>
<AssemblyVersion>1.20.0.0</AssemblyVersion>
<AssemblyVersion>1.21.0.0</AssemblyVersion>
<AssemblyVersion>1.22.0.0</AssemblyVersion>
<AssemblyVersion>1.23.0.0</AssemblyVersion>
<AssemblyVersion>1.24.0.0</AssemblyVersion>
<AssemblyVersion>1.25.0.0</AssemblyVersion>
<AssemblyVersion>1.26.0.0</AssemblyVersion>
<AssemblyVersion>1.27.0.0</AssemblyVersion>
<AssemblyVersion>1.28.0.0</AssemblyVersion>
<AssemblyVersion>1.29.0.0</AssemblyVersion>
<AssemblyVersion>1.30.0.0</AssemblyVersion>
<AssemblyVersion>1.31.0.0</AssemblyVersion>
<AssemblyVersion>1.32.0.0</AssemblyVersion>
<AssemblyVersion>1.33.0.0</AssemblyVersion>
<AssemblyVersion>1.34.0.0</AssemblyVersion>
<AssemblyVersion>1.35.0.0</AssemblyVersion>
<AssemblyVersion>1.36.0.0</AssemblyVersion>
<AssemblyVersion>1.37.0.0</AssemblyVersion>
<AssemblyVersion>1.38.0.0</AssemblyVersion>
<AssemblyVersion>1.39.0.0</AssemblyVersion>
<AssemblyVersion>1.40.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Docs>
<summary>
Abstraction for registering Azure clients that require <see cref="T:Azure.Core.TokenCredential" /> in dependency injection containers.
</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="RegisterClientFactory<TClient,TOptions>">
<MemberSignature Language="C#" Value="public Azure.Core.Extensions.IAzureClientBuilder<TClient,TOptions> RegisterClientFactory<TClient,TOptions> (Func<TOptions,Azure.Core.TokenCredential,TClient> clientFactory, bool requiresCredential = true) where TOptions : class;" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Core.Extensions.IAzureClientBuilder`2<!!TClient, !!TOptions> RegisterClientFactory<TClient, class TOptions>(class System.Func`3<!!TOptions, class Azure.Core.TokenCredential, !!TClient> clientFactory, bool requiresCredential) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Core.Extensions.IAzureClientFactoryBuilderWithCredential.RegisterClientFactory``2(System.Func{``1,Azure.Core.TokenCredential,``0},System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Public Function RegisterClientFactory(Of TClient, TOptions) (clientFactory As Func(Of TOptions, TokenCredential, TClient), Optional requiresCredential As Boolean = true) As IAzureClientBuilder(Of TClient, TOptions)" />
<MemberSignature Language="F#" Value="abstract member RegisterClientFactory : Func<'Options, Azure.Core.TokenCredential, 'Client (requires 'Options : null)> * bool -> Azure.Core.Extensions.IAzureClientBuilder<'Client, 'Options (requires 'Options : null)> (requires 'Options : null)" Usage="iAzureClientFactoryBuilderWithCredential.RegisterClientFactory (clientFactory, requiresCredential)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Core</AssemblyName>
<AssemblyVersion>1.40.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Core.Extensions.IAzureClientBuilder<TClient,TOptions></ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TClient" />
<TypeParameter Name="TOptions">
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="clientFactory" Type="System.Func<TOptions,Azure.Core.TokenCredential,TClient>" />
<Parameter Name="requiresCredential" Type="System.Boolean" />
</Parameters>
<Docs>
<typeparam name="TClient">The type of the client.</typeparam>
<typeparam name="TOptions">The client options type used the client.</typeparam>
<param name="clientFactory">The factory, that given the instance of options and credential, returns a client instance.</param>
<param name="requiresCredential">Specifies whether the credential is optional (client supports anonymous authentication).</param>
<summary>
Registers a client in dependency injection container the using the factory to create a client instance.
</summary>
<returns>
<see cref="T:Azure.Core.Extensions.IAzureClientBuilder`2" /> that allows customizing the client registration.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>