/
XmlnsCompatibleWithAttribute.xml
172 lines (168 loc) · 11.7 KB
/
XmlnsCompatibleWithAttribute.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<Type Name="XmlnsCompatibleWithAttribute" FullName="System.Windows.Markup.XmlnsCompatibleWithAttribute">
<TypeSignature Language="C#" Value="public sealed class XmlnsCompatibleWithAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit XmlnsCompatibleWithAttribute extends System.Attribute" />
<TypeSignature Language="DocId" Value="T:System.Windows.Markup.XmlnsCompatibleWithAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class XmlnsCompatibleWithAttribute
Inherits Attribute" />
<TypeSignature Language="F#" Value="type XmlnsCompatibleWithAttribute = class
 inherit Attribute" />
<TypeSignature Language="C++ CLI" Value="public ref class XmlnsCompatibleWithAttribute sealed : Attribute" />
<AssemblyInfo>
<AssemblyName>System.Xaml</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
</AssemblyInfo>
<TypeForwardingChain>
<TypeForwarding From="WindowsBase" FromVersion="4.0.0.0" To="System.Xaml" ToVersion="4.0.0.0" FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;windowsdesktop-3.0;windowsdesktop-3.1" />
<TypeForwarding From="WindowsBase" FromVersion="5.0.0.0" To="System.Xaml" ToVersion="5.0.0.0" FrameworkAlternate="windowsdesktop-5.0" />
<TypeForwarding From="WindowsBase" FromVersion="6.0.0.0" To="System.Xaml" ToVersion="6.0.0.0" FrameworkAlternate="windowsdesktop-6.0" />
<TypeForwarding From="WindowsBase" FromVersion="7.0.0.0" To="System.Xaml" ToVersion="7.0.0.0" FrameworkAlternate="windowsdesktop-7.0" />
<TypeForwarding From="WindowsBase" FromVersion="8.0.0.0" To="System.Xaml" ToVersion="8.0.0.0" FrameworkAlternate="windowsdesktop-8.0" />
<TypeForwarding From="WindowsBase" FromVersion="9.0.0.0" To="System.Xaml" ToVersion="9.0.0.0" FrameworkAlternate="windowsdesktop-9.0" />
</TypeForwardingChain>
<Base>
<BaseTypeName>System.Attribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Runtime.CompilerServices.TypeForwardedFrom("WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.TypeForwardedFrom("WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Specifies that a XAML namespace can be subsumed by another XAML namespace. Typically, the subsuming XAML namespace is indicated in a previously defined <see cref="T:System.Windows.Markup.XmlnsDefinitionAttribute" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Applying the <xref:System.Windows.Markup.XmlnsCompatibleWithAttribute> enables an assembly to provide a new and compatible namespace for another XAML namespace, as previously indicated by <xref:System.Windows.Markup.XmlnsDefinitionAttribute>. For example, `"http://www.adatum.com/2003/controls"` could be marked compatible with a defined XAML namespace identified as `"http://www.adatum.com/2005/controls"` through the following assembly-level attributes:
```
[assembly:System.Windows.Markup.XmlnsDefinition("http://www.adatum.com/2005/controls", "Adatum.Controls")]
[assembly: System.Windows.Markup.XmlnsCompatibleWith("http://www.adatum.com/2003/controls", "http://www.adatum.com/2005/controls")]
```
In previous versions of the .NET Framework, this class existed in the WPF-specific assembly WindowsBase. In .NET Framework 4, <xref:System.Windows.Markup.XmlnsCompatibleWithAttribute> is in the System.Xaml assembly. For more information, see [Types Migrated from WPF to System.Xaml](/dotnet/framework/xaml-services/types-migrated-from-wpf-to-system-xaml).
]]></format>
</remarks>
<related type="Article" href="/dotnet/desktop-wpf/xaml-services/clr-attributes-with-custom-types-and-libraries">XAML-related CLR attributes for custom types and libraries</related>
<related type="Article" href="/dotnet/desktop-wpf/xaml-services/define-custom-types">Define custom types for use with .NET XAML Services</related>
<related type="Article" href="/dotnet/desktop-wpf/xaml-services/">XAML Services</related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public XmlnsCompatibleWithAttribute (string oldNamespace, string newNamespace);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string oldNamespace, string newNamespace) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Markup.XmlnsCompatibleWithAttribute.#ctor(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (oldNamespace As String, newNamespace As String)" />
<MemberSignature Language="F#" Value="new System.Windows.Markup.XmlnsCompatibleWithAttribute : string * string -> System.Windows.Markup.XmlnsCompatibleWithAttribute" Usage="new System.Windows.Markup.XmlnsCompatibleWithAttribute (oldNamespace, newNamespace)" />
<MemberSignature Language="C++ CLI" Value="public:
 XmlnsCompatibleWithAttribute(System::String ^ oldNamespace, System::String ^ newNamespace);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Xaml</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="oldNamespace" Type="System.String" />
<Parameter Name="newNamespace" Type="System.String" />
</Parameters>
<Docs>
<param name="oldNamespace">The reference XAML namespace identifier.</param>
<param name="newNamespace">The subsuming XAML namespace identifier.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Markup.XmlnsCompatibleWithAttribute" /> class.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="oldNamespace" /> or <paramref name="newNamespace" /> is <see langword="null" />.</exception>
</Docs>
</Member>
<Member MemberName="NewNamespace">
<MemberSignature Language="C#" Value="public string NewNamespace { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string NewNamespace" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.XmlnsCompatibleWithAttribute.NewNamespace" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property NewNamespace As String" />
<MemberSignature Language="F#" Value="member this.NewNamespace : string" Usage="System.Windows.Markup.XmlnsCompatibleWithAttribute.NewNamespace" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ NewNamespace { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Xaml</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the subsuming namespace identifier reported by this attribute.</summary>
<value>The subsuming namespace identifier reported in the attribute.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OldNamespace">
<MemberSignature Language="C#" Value="public string OldNamespace { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string OldNamespace" />
<MemberSignature Language="DocId" Value="P:System.Windows.Markup.XmlnsCompatibleWithAttribute.OldNamespace" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property OldNamespace As String" />
<MemberSignature Language="F#" Value="member this.OldNamespace : string" Usage="System.Windows.Markup.XmlnsCompatibleWithAttribute.OldNamespace" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ OldNamespace { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Xaml</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>WindowsBase</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the reference namespace identifier reported by this attribute.</summary>
<value>The reference namespace identifier.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>