Skip to content

Commit e3f6f82

Browse files
yishengjin1413mairaw
authored andcommitted
migrate missing API (dotnet#400)
* migrate missing API * small fixes * Replaced external code reference with inline XAML * Update Stylus.xml * Update RenderOptions.xml * fixed broken links
1 parent d66fd6b commit e3f6f82

File tree

67 files changed

+5312
-579
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+5312
-579
lines changed

xml/Microsoft.Windows.Themes/ScrollChrome.xml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="ScrollChrome" FullName="Microsoft.Windows.Themes.ScrollChrome">
1+
<Type Name="ScrollChrome" FullName="Microsoft.Windows.Themes.ScrollChrome">
22
<TypeSignature Language="C#" Value="public sealed class ScrollChrome : System.Windows.FrameworkElement" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ScrollChrome extends System.Windows.FrameworkElement" />
44
<TypeSignature Language="DocId" Value="T:Microsoft.Windows.Themes.ScrollChrome" />
@@ -618,8 +618,22 @@
618618
<AssemblyVersion>4.0.0.0</AssemblyVersion>
619619
</AssemblyInfo>
620620
<Docs>
621-
<summary>To be added.</summary>
622-
<remarks>To be added.</remarks>
621+
<summary>Gets or sets the color of the <see cref="T:Microsoft.Windows.Themes.ScrollGlyph" /> for the <see cref="T:Microsoft.Windows.Themes.ScrollChrome" />.</summary>
622+
<remarks>
623+
<format type="text/markdown"><![CDATA[
624+
625+
## Remarks
626+
627+
<a name="dependencyPropertyInfo_ThemeColor"></a>
628+
## Dependency Property Information
629+
630+
|||
631+
|-|-|
632+
|Identifier field|<xref:Microsoft.Windows.Themes.ScrollChrome.ScrollGlyphProperty>|
633+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.AffectsRender%2A>|
634+
635+
]]></format>
636+
</remarks>
623637
</Docs>
624638
</Member>
625639
<Member MemberName="ScrollGlyphProperty">

xml/System.Activities.Presentation.View/DesignerView.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="DesignerView" FullName="System.Activities.Presentation.View.DesignerView">
1+
<Type Name="DesignerView" FullName="System.Activities.Presentation.View.DesignerView">
22
<TypeSignature Language="C#" Value="public class DesignerView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DesignerView extends System.Windows.Controls.UserControl implements class System.Windows.Markup.IComponentConnector, class System.Windows.Markup.IStyleConnector" />
44
<TypeSignature Language="DocId" Value="T:System.Activities.Presentation.View.DesignerView" />
@@ -145,7 +145,7 @@
145145
<AssemblyVersion>4.0.0.0</AssemblyVersion>
146146
</AssemblyInfo>
147147
<Docs>
148-
<summary>To be added.</summary>
148+
<summary>Indicates the command menu mode.</summary>
149149
<remarks>To be added.</remarks>
150150
</Docs>
151151
</Member>

xml/System.Collections.ObjectModel/ObservableCollection`1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="ObservableCollection&lt;T&gt;" FullName="System.Collections.ObjectModel.ObservableCollection&lt;T&gt;">
1+
<Type Name="ObservableCollection&lt;T&gt;" FullName="System.Collections.ObjectModel.ObservableCollection&lt;T&gt;">
22
<TypeSignature Language="C#" Value="public class ObservableCollection&lt;T&gt; : System.Collections.ObjectModel.Collection&lt;T&gt;, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit ObservableCollection`1&lt;T&gt; extends System.Collections.ObjectModel.Collection`1&lt;!T&gt; implements class System.Collections.Specialized.INotifyCollectionChanged, class System.ComponentModel.INotifyPropertyChanged" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.ObjectModel.ObservableCollection`1" />
@@ -808,7 +808,7 @@
808808
<ReturnType>System.ComponentModel.PropertyChangedEventHandler</ReturnType>
809809
</ReturnValue>
810810
<Docs>
811-
<summary>To be added.</summary>
811+
<summary>Occurs when a property value changes.</summary>
812812
<remarks>To be added.</remarks>
813813
</Docs>
814814
</Member>

xml/System.Collections.ObjectModel/ReadOnlyObservableCollection`1.xml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="ReadOnlyObservableCollection&lt;T&gt;" FullName="System.Collections.ObjectModel.ReadOnlyObservableCollection&lt;T&gt;">
1+
<Type Name="ReadOnlyObservableCollection&lt;T&gt;" FullName="System.Collections.ObjectModel.ReadOnlyObservableCollection&lt;T&gt;">
22
<TypeSignature Language="C#" Value="public class ReadOnlyObservableCollection&lt;T&gt; : System.Collections.ObjectModel.ReadOnlyCollection&lt;T&gt;, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit ReadOnlyObservableCollection`1&lt;T&gt; extends System.Collections.ObjectModel.ReadOnlyCollection`1&lt;!T&gt; implements class System.Collections.Specialized.INotifyCollectionChanged, class System.ComponentModel.INotifyPropertyChanged" />
44
<TypeSignature Language="DocId" Value="T:System.Collections.ObjectModel.ReadOnlyObservableCollection`1" />
@@ -304,8 +304,15 @@
304304
<ReturnType>System.Collections.Specialized.NotifyCollectionChangedEventHandler</ReturnType>
305305
</ReturnValue>
306306
<Docs>
307-
<summary>To be added.</summary>
308-
<remarks>To be added.</remarks>
307+
<summary>Occurs when the collection changes.</summary>
308+
<remarks>
309+
<format type="text/markdown"><![CDATA[
310+
311+
## Remarks
312+
This member is an explicit interface member implementation. It can be used only when the <xref:System.Collections.ObjectModel.ReadOnlyObservableCollection%601> instance is cast to an <xref:System.Collections.Specialized.INotifyCollectionChanged> interface.
313+
314+
]]></format>
315+
</remarks>
309316
</Docs>
310317
</Member>
311318
<Member MemberName="System.ComponentModel.INotifyPropertyChanged.PropertyChanged">
@@ -341,8 +348,15 @@
341348
<ReturnType>System.ComponentModel.PropertyChangedEventHandler</ReturnType>
342349
</ReturnValue>
343350
<Docs>
344-
<summary>To be added.</summary>
345-
<remarks>To be added.</remarks>
351+
<summary>Occurs when a property value changes.</summary>
352+
<remarks>
353+
<format type="text/markdown"><![CDATA[
354+
355+
## Remarks
356+
This member is an explicit interface member implementation. It can be used only when the <xref:System.Collections.ObjectModel.ReadOnlyObservableCollection%601> instance is cast to an <xref:System.ComponentModel.INotifyPropertyChanged> interface.
357+
358+
]]></format>
359+
</remarks>
346360
</Docs>
347361
</Member>
348362
</Members>

xml/System.ComponentModel/DesignerProperties.xml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="DesignerProperties" FullName="System.ComponentModel.DesignerProperties">
1+
<Type Name="DesignerProperties" FullName="System.ComponentModel.DesignerProperties">
22
<TypeSignature Language="C#" Value="public static class DesignerProperties" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit DesignerProperties extends System.Object" />
44
<TypeSignature Language="DocId" Value="T:System.ComponentModel.DesignerProperties" />
@@ -73,8 +73,25 @@
7373
<AssemblyVersion>4.0.0.0</AssemblyVersion>
7474
</AssemblyInfo>
7575
<Docs>
76-
<summary>To be added.</summary>
77-
<remarks>To be added.</remarks>
76+
<summary>Gets or sets whether a <see cref="T:System.Windows.DependencyObject" /> is running in the context of a designer.</summary>
77+
<remarks>
78+
<format type="text/markdown"><![CDATA[
79+
80+
## Remarks
81+
Component and control developers may use this property to perform different logic when running in the context of a designer than they would when running in an application.
82+
83+
Designers may change the value of this property to move a control from design mode to run mode and back. Components that make changes to their state based on the value of this property should override the virtual <xref:System.Windows.FrameworkElement.OnPropertyChanged%2A> method and update their state if their **IsInDesignMode** property value changes.
84+
85+
<a name="dependencyPropertyInfo_DesignerPropertiesIsInDesignMode"></a>
86+
## Dependency Property Information
87+
88+
|||
89+
|-|-|
90+
|Identifier field|<xref:System.ComponentModel.DesignerProperties.IsInDesignModeProperty>|
91+
|Metadata properties set to `true`|<xref:System.Windows.FrameworkPropertyMetadata.OverridesInheritanceBehavior%2A>, <xref:System.Windows.FrameworkPropertyMetadata.Inherits%2A>|
92+
93+
]]></format>
94+
</remarks>
7895
</Docs>
7996
</Member>
8097
<Member MemberName="IsInDesignModeProperty">

xml/System.Configuration/ProtectedConfigurationProvider.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ providerName="System.Data.SqlClient" />
158158
<block subset="none" type="overrides">
159159
<para>Override this method to perform custom decryption.</para>
160160
</block>
161-
<related type="Article" href="http://msdn.microsoft.com/library/eb5dee1e-f6ac-4b16-bc2c-32c1e8cd9341">Encrypting and Decrypting Configuration Sections</related>
161+
<related type="Article" href="https://msdn.microsoft.com/library/eb5dee1e-f6ac-4b16-bc2c-32c1e8cd9341">Encrypting and Decrypting Configuration Sections</related>
162162
</Docs>
163163
</Member>
164164
<Member MemberName="Encrypt">

xml/System.ServiceModel.Discovery/AnnouncementClient.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="AnnouncementClient" FullName="System.ServiceModel.Discovery.AnnouncementClient">
1+
<Type Name="AnnouncementClient" FullName="System.ServiceModel.Discovery.AnnouncementClient">
22
<TypeSignature Language="C#" Value="public sealed class AnnouncementClient : IDisposable, System.ServiceModel.ICommunicationObject" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit AnnouncementClient extends System.Object implements class System.IDisposable, class System.ServiceModel.ICommunicationObject" />
44
<TypeSignature Language="DocId" Value="T:System.ServiceModel.Discovery.AnnouncementClient" />
@@ -887,7 +887,7 @@
887887
<ReturnType>System.EventHandler</ReturnType>
888888
</ReturnValue>
889889
<Docs>
890-
<summary>To be added.</summary>
890+
<summary>Occurs when the communication object completes its transition from the closing state into the closed state.</summary>
891891
<remarks>To be added.</remarks>
892892
</Docs>
893893
</Member>
@@ -908,7 +908,7 @@
908908
<ReturnType>System.EventHandler</ReturnType>
909909
</ReturnValue>
910910
<Docs>
911-
<summary>To be added.</summary>
911+
<summary>Occurs when the communication object first enters the closing state.</summary>
912912
<remarks>To be added.</remarks>
913913
</Docs>
914914
</Member>
@@ -981,7 +981,7 @@
981981
<ReturnType>System.EventHandler</ReturnType>
982982
</ReturnValue>
983983
<Docs>
984-
<summary>To be added.</summary>
984+
<summary>Occurs when the communication object first enters the faulted state.</summary>
985985
<remarks>To be added.</remarks>
986986
</Docs>
987987
</Member>
@@ -1060,7 +1060,7 @@
10601060
<ReturnType>System.EventHandler</ReturnType>
10611061
</ReturnValue>
10621062
<Docs>
1063-
<summary>To be added.</summary>
1063+
<summary>Occurs when the communication object completes its transition from the opening state into the opened state.</summary>
10641064
<remarks>To be added.</remarks>
10651065
</Docs>
10661066
</Member>
@@ -1081,7 +1081,7 @@
10811081
<ReturnType>System.EventHandler</ReturnType>
10821082
</ReturnValue>
10831083
<Docs>
1084-
<summary>To be added.</summary>
1084+
<summary>Occurs when the communication object first enters the opening state.</summary>
10851085
<remarks>To be added.</remarks>
10861086
</Docs>
10871087
</Member>

xml/System.ServiceModel.Discovery/DiscoveryClient.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="DiscoveryClient" FullName="System.ServiceModel.Discovery.DiscoveryClient">
1+
<Type Name="DiscoveryClient" FullName="System.ServiceModel.Discovery.DiscoveryClient">
22
<TypeSignature Language="C#" Value="public sealed class DiscoveryClient : IDisposable, System.ServiceModel.ICommunicationObject" />
33
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit DiscoveryClient extends System.Object implements class System.IDisposable, class System.ServiceModel.ICommunicationObject" />
44
<TypeSignature Language="DocId" Value="T:System.ServiceModel.Discovery.DiscoveryClient" />
@@ -931,7 +931,7 @@
931931
<ReturnType>System.EventHandler</ReturnType>
932932
</ReturnValue>
933933
<Docs>
934-
<summary>To be added.</summary>
934+
<summary>Occurs when the communication object completes its transition from the closing state into the closed state.</summary>
935935
<remarks>To be added.</remarks>
936936
</Docs>
937937
</Member>
@@ -952,7 +952,7 @@
952952
<ReturnType>System.EventHandler</ReturnType>
953953
</ReturnValue>
954954
<Docs>
955-
<summary>To be added.</summary>
955+
<summary>Occurs when the communication object first enters the closing state.</summary>
956956
<remarks>To be added.</remarks>
957957
</Docs>
958958
</Member>
@@ -1025,7 +1025,7 @@
10251025
<ReturnType>System.EventHandler</ReturnType>
10261026
</ReturnValue>
10271027
<Docs>
1028-
<summary>To be added.</summary>
1028+
<summary>Occurs when the communication object first enters the faulted state.</summary>
10291029
<remarks>To be added.</remarks>
10301030
</Docs>
10311031
</Member>
@@ -1104,7 +1104,7 @@
11041104
<ReturnType>System.EventHandler</ReturnType>
11051105
</ReturnValue>
11061106
<Docs>
1107-
<summary>To be added.</summary>
1107+
<summary>Occurs when the communication object completes its transition from the opening state into the opened state.</summary>
11081108
<remarks>To be added.</remarks>
11091109
</Docs>
11101110
</Member>
@@ -1125,7 +1125,7 @@
11251125
<ReturnType>System.EventHandler</ReturnType>
11261126
</ReturnValue>
11271127
<Docs>
1128-
<summary>To be added.</summary>
1128+
<summary>Occurs when the communication object first enters the opening state.</summary>
11291129
<remarks>To be added.</remarks>
11301130
</Docs>
11311131
</Member>

xml/System.ServiceModel/ClientBase`1+ChannelBase`1.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Type Name="ClientBase&lt;TChannel&gt;+ChannelBase&lt;T&gt;" FullName="System.ServiceModel.ClientBase&lt;TChannel&gt;+ChannelBase&lt;T&gt;">
1+
<Type Name="ClientBase&lt;TChannel&gt;+ChannelBase&lt;T&gt;" FullName="System.ServiceModel.ClientBase&lt;TChannel&gt;+ChannelBase&lt;T&gt;">
22
<TypeSignature Language="C#" Value="protected internal class ClientBase&lt;TChannel&gt;.ChannelBase&lt;T&gt; : IDisposable, System.ServiceModel.Channels.IOutputChannel, System.ServiceModel.Channels.IRequestChannel, System.ServiceModel.IClientChannel, System.ServiceModel.IExtensibleObject&lt;System.ServiceModel.IContextChannel&gt; where TChannel : class where T : class" />
33
<TypeSignature Language="ILAsm" Value=".class nested protected auto ansi beforefieldinit ClientBase`1/ChannelBase`1&lt;class TChannel, class T&gt; extends System.Object implements class System.IDisposable, class System.ServiceModel.Channels.IChannel, class System.ServiceModel.Channels.IOutputChannel, class System.ServiceModel.Channels.IRequestChannel, class System.ServiceModel.IClientChannel, class System.ServiceModel.ICommunicationObject, class System.ServiceModel.IContextChannel, class System.ServiceModel.IExtensibleObject`1&lt;class System.ServiceModel.IContextChannel&gt;" />
44
<TypeSignature Language="DocId" Value="T:System.ServiceModel.ClientBase`1.ChannelBase`1" />
@@ -1282,7 +1282,7 @@
12821282
<ReturnType>System.EventHandler&lt;System.ServiceModel.UnknownMessageReceivedEventArgs&gt;</ReturnType>
12831283
</ReturnValue>
12841284
<Docs>
1285-
<summary>To be added.</summary>
1285+
<summary>The event handler that is invoked when the ClientBase object receives an unknown message.</summary>
12861286
<remarks>To be added.</remarks>
12871287
</Docs>
12881288
</Member>
@@ -1611,7 +1611,7 @@
16111611
<ReturnType>System.EventHandler</ReturnType>
16121612
</ReturnValue>
16131613
<Docs>
1614-
<summary>To be added.</summary>
1614+
<summary>The event handler that is invoked when the ClientBase object has transitioned from its current state to the closed state.</summary>
16151615
<remarks>To be added.</remarks>
16161616
</Docs>
16171617
</Member>
@@ -1639,7 +1639,7 @@
16391639
<ReturnType>System.EventHandler</ReturnType>
16401640
</ReturnValue>
16411641
<Docs>
1642-
<summary>To be added.</summary>
1642+
<summary>The event handler that is invoked when the ClientBase object transitions from its current state to the closed state.</summary>
16431643
<remarks>To be added.</remarks>
16441644
</Docs>
16451645
</Member>
@@ -1733,7 +1733,7 @@
17331733
<ReturnType>System.EventHandler</ReturnType>
17341734
</ReturnValue>
17351735
<Docs>
1736-
<summary>To be added.</summary>
1736+
<summary>The event handler that is invoked when fault occurs while performing an operation on the ClientBase object.</summary>
17371737
<remarks>To be added.</remarks>
17381738
</Docs>
17391739
</Member>
@@ -1834,7 +1834,7 @@
18341834
<ReturnType>System.EventHandler</ReturnType>
18351835
</ReturnValue>
18361836
<Docs>
1837-
<summary>To be added.</summary>
1837+
<summary>The event handler that is invoked when the ClientBase object has transitioned from the created state to the opened state.</summary>
18381838
<remarks>To be added.</remarks>
18391839
</Docs>
18401840
</Member>
@@ -1862,7 +1862,7 @@
18621862
<ReturnType>System.EventHandler</ReturnType>
18631863
</ReturnValue>
18641864
<Docs>
1865-
<summary>To be added.</summary>
1865+
<summary>The event handler that is invoked when the ClientBase object transitions from the created state to the opened state.</summary>
18661866
<remarks>To be added.</remarks>
18671867
</Docs>
18681868
</Member>

0 commit comments

Comments
 (0)