-
Notifications
You must be signed in to change notification settings - Fork 4
/
FontCollectionExtensions.xml
115 lines (115 loc) · 8.06 KB
/
FontCollectionExtensions.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
<Type Name="FontCollectionExtensions" FullName="Microsoft.Maui.Hosting.FontCollectionExtensions">
<TypeSignature Language="C#" Value="public static class FontCollectionExtensions" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit FontCollectionExtensions extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.Hosting.FontCollectionExtensions" />
<TypeSignature Language="VB.NET" Value="Public Module FontCollectionExtensions" />
<TypeSignature Language="C++ CLI" Value="public ref class FontCollectionExtensions abstract sealed" />
<TypeSignature Language="F#" Value="type FontCollectionExtensions = 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="AddEmbeddedResourceFont">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Hosting.IFontCollection AddEmbeddedResourceFont (this Microsoft.Maui.Hosting.IFontCollection fontCollection, System.Reflection.Assembly assembly, string filename, string? alias = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Hosting.IFontCollection AddEmbeddedResourceFont(class Microsoft.Maui.Hosting.IFontCollection fontCollection, class System.Reflection.Assembly assembly, string filename, string alias) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Hosting.FontCollectionExtensions.AddEmbeddedResourceFont(Microsoft.Maui.Hosting.IFontCollection,System.Reflection.Assembly,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddEmbeddedResourceFont (fontCollection As IFontCollection, assembly As Assembly, filename As String, Optional alias As String = Nothing) As IFontCollection" />
<MemberSignature Language="F#" Value="static member AddEmbeddedResourceFont : Microsoft.Maui.Hosting.IFontCollection * System.Reflection.Assembly * string * string -> Microsoft.Maui.Hosting.IFontCollection" Usage="Microsoft.Maui.Hosting.FontCollectionExtensions.AddEmbeddedResourceFont (fontCollection, assembly, filename, alias)" />
<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.IFontCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fontCollection" Type="Microsoft.Maui.Hosting.IFontCollection" RefType="this" />
<Parameter Name="assembly" Type="System.Reflection.Assembly" />
<Parameter Name="filename" Type="System.String" />
<Parameter Name="alias" Type="System.String">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="fontCollection">The collection to add the font to.</param>
<param name="assembly">The assembly that contains the specified font as an embedded resource.</param>
<param name="filename">The embedded resource filename of the font to add, such as a True type format (TTF) or open type font (OTF) font file.</param>
<param name="alias">An optional alias that can also be used to reference this font.</param>
<summary>
Adds the font specified in <paramref name="filename" /> from an embedded resource in <paramref name="assembly" /> to the <paramref name="fontCollection" />, with an optional font alias specified in <paramref name="alias" />.
</summary>
<returns />
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="filename" /> parameter is <c>null</c>. -or- The <paramref name="assembly" /> parameter is <c>null</c>.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="filename" /> parameter is empty or only whitespace.</exception>
</Docs>
</Member>
<Member MemberName="AddFont">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.Hosting.IFontCollection AddFont (this Microsoft.Maui.Hosting.IFontCollection fontCollection, string filename, string? alias = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class Microsoft.Maui.Hosting.IFontCollection AddFont(class Microsoft.Maui.Hosting.IFontCollection fontCollection, string filename, string alias) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.Hosting.FontCollectionExtensions.AddFont(Microsoft.Maui.Hosting.IFontCollection,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="<Extension()>
Public Function AddFont (fontCollection As IFontCollection, filename As String, Optional alias As String = Nothing) As IFontCollection" />
<MemberSignature Language="F#" Value="static member AddFont : Microsoft.Maui.Hosting.IFontCollection * string * string -> Microsoft.Maui.Hosting.IFontCollection" Usage="Microsoft.Maui.Hosting.FontCollectionExtensions.AddFont (fontCollection, filename, alias)" />
<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.IFontCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="fontCollection" Type="Microsoft.Maui.Hosting.IFontCollection" RefType="this" />
<Parameter Name="filename" Type="System.String" />
<Parameter Name="alias" Type="System.String">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="fontCollection">The collection to add the font to.</param>
<param name="filename">The filename of the font to add, such as a True type format (TTF) or open type font (OTF) font file. Font files can be added to the 'Resources\Fonts' of a .NET MAUI project.</param>
<param name="alias">An optional alias that can also be used to reference this font.</param>
<summary>
Adds the font specified in <paramref name="filename" /> to the <paramref name="fontCollection" />, with an optional font alias specified in <paramref name="alias" />.
</summary>
<returns />
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">The <paramref name="filename" /> parameter is <c>null</c>.</exception>
<exception cref="T:System.ArgumentException">The <paramref name="filename" /> parameter is empty or only whitespace.</exception>
</Docs>
</Member>
</Members>
</Type>