-
Notifications
You must be signed in to change notification settings - Fork 4
/
ImageSourceServiceCollectionExtensions.xml
132 lines (132 loc) · 10.1 KB
/
ImageSourceServiceCollectionExtensions.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<Type Name="ImageSourceServiceCollectionExtensions" FullName="Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions">
<TypeSignature Language="C#" Value="public static class ImageSourceServiceCollectionExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit ImageSourceServiceCollectionExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module ImageSourceServiceCollectionExtensions" />
<TypeSignature Language="C++ CLI" Value="public ref class ImageSourceServiceCollectionExtensions abstract sealed" />
<TypeSignature Language="F#" Value="type ImageSourceServiceCollectionExtensions = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Maui</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName="AddService<TImageSource>">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Hosting.IImageSourceServiceCollection AddService<TImageSource> (this Microsoft.Maui.Hosting.IImageSourceServiceCollection services, Func<IServiceProvider,Microsoft.Maui.IImageSourceService<TImageSource>> implementationFactory) where TImageSource : Microsoft.Maui.IImageSource;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Hosting.IImageSourceServiceCollection AddService<(class Microsoft.Maui.IImageSource) TImageSource>(class Microsoft.Maui.Hosting.IImageSourceServiceCollection services, class System.Func`2<class System.IServiceProvider, class Microsoft.Maui.IImageSourceService`1<!!TImageSource>> implementationFactory) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions.AddService``1(Microsoft.Maui.Hosting.IImageSourceServiceCollection,System.Func{System.IServiceProvider,Microsoft.Maui.IImageSourceService{``0}})" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddService(Of TImageSource As IImageSource) (services As IImageSourceServiceCollection, implementationFactory As Func(Of IServiceProvider, IImageSourceService(Of TImageSource))) As IImageSourceServiceCollection" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename TImageSource>
 where TImageSource : Microsoft::Maui::IImageSource[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::IImageSourceServiceCollection ^ AddService(Microsoft::Maui::Hosting::IImageSourceServiceCollection ^ services, Func<IServiceProvider ^, Microsoft::Maui::IImageSourceService<TImageSource> ^> ^ implementationFactory);" />
<MemberSignature Language="F#" Value="static member AddService : Microsoft.Maui.Hosting.IImageSourceServiceCollection * Func<IServiceProvider, Microsoft.Maui.IImageSourceService<'ImageSource>> -> Microsoft.Maui.Hosting.IImageSourceServiceCollection (requires 'ImageSource :> Microsoft.Maui.IImageSource)" Usage="Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions.AddService (services, implementationFactory)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Hosting.IImageSourceServiceCollection</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TImageSource">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<InterfaceName>Microsoft.Maui.IImageSource</InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="services" Type="Microsoft.Maui.Hosting.IImageSourceServiceCollection" RefType="this" />
<Parameter Name="implementationFactory" Type="System.Func<System.IServiceProvider,Microsoft.Maui.IImageSourceService<TImageSource>>" />
</Parameters>
<Docs>
<typeparam name="TImageSource">The image type to register for</typeparam>
<param name="services">The service collection</param>
<param name="implementationFactory">A factory method to create the service</param>
<summary>
Registers an image service with the underlying service container via AddSingleton.
</summary>
<returns>The service collection</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddService<TImageSource,TImageSourceService>">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Hosting.IImageSourceServiceCollection AddService<TImageSource,TImageSourceService> (this Microsoft.Maui.Hosting.IImageSourceServiceCollection services) where TImageSource : Microsoft.Maui.IImageSource where TImageSourceService : class, Microsoft.Maui.IImageSourceService<TImageSource>;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Hosting.IImageSourceServiceCollection AddService<(class Microsoft.Maui.IImageSource) TImageSource, class (class Microsoft.Maui.IImageSourceService`1<!!TImageSource>) TImageSourceService>(class Microsoft.Maui.Hosting.IImageSourceServiceCollection services) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions.AddService``2(Microsoft.Maui.Hosting.IImageSourceServiceCollection)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddService(Of TImageSource As IImageSource, TImageSourceService As IImageSource) (services As IImageSourceServiceCollection) As IImageSourceServiceCollection" />
<MemberSignature Language="C++ CLI" Value="public:
generic <typename TImageSource, typename TImageSourceService>
 where TImageSource : Microsoft::Maui::IImageSource where TImageSourceService : class, Microsoft::Maui::IImageSourceService<TImageSource>[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Hosting::IImageSourceServiceCollection ^ AddService(Microsoft::Maui::Hosting::IImageSourceServiceCollection ^ services);" />
<MemberSignature Language="F#" Value="static member AddService : Microsoft.Maui.Hosting.IImageSourceServiceCollection -> Microsoft.Maui.Hosting.IImageSourceServiceCollection (requires 'ImageSource :> Microsoft.Maui.IImageSource and 'ImageSourceService : null and 'ImageSourceService :> Microsoft.Maui.IImageSourceService<'ImageSource>)" Usage="Microsoft.Maui.Hosting.ImageSourceServiceCollectionExtensions.AddService services" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.Hosting.IImageSourceServiceCollection</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="TImageSource">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<InterfaceName>Microsoft.Maui.IImageSource</InterfaceName>
</Constraints>
</TypeParameter>
<TypeParameter Name="TImageSourceService">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]</AttributeName>
</Attribute>
</Attributes>
<Constraints>
<ParameterAttribute>ReferenceTypeConstraint</ParameterAttribute>
<InterfaceName>Microsoft.Maui.IImageSourceService<TImageSource></InterfaceName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="services" Type="Microsoft.Maui.Hosting.IImageSourceServiceCollection" RefType="this" />
</Parameters>
<Docs>
<typeparam name="TImageSource">The image type to register for</typeparam>
<typeparam name="TImageSourceService">The service type to register</typeparam>
<param name="services">The service collection</param>
<summary>
Registers an image service with the underlying service container via AddSingleton.
</summary>
<returns>The service collection</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>