Skip to content

Commit 994a1bc

Browse files
author
Ron Petrusha
authored
Changed '- or -' to '-or-' (#2792)
1 parent 6e9c4aa commit 994a1bc

File tree

12 files changed

+186
-87
lines changed

12 files changed

+186
-87
lines changed

xml/Microsoft.Windows.Themes/BulletChrome.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,16 @@
382382
<a name="xamlAttributeUsage_IsChecked"></a>
383383
## XAML Attribute Usage
384384
385-
```
385+
```xaml
386386
<object IsChecked="bool"/>
387-
- or -
387+
```
388+
389+
-or-
390+
391+
```xaml
388392
<object IsChecked="x:Null"/>
389393
```
390-
394+
391395
]]></format>
392396
</remarks>
393397
</Docs>

xml/System.IO.Pipes/PipeStream.xml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,11 +1301,11 @@ Use `BinaryReader` for reading primitive data types.
13011301
<exception cref="T:System.InvalidOperationException">
13021302
The pipe hasn't been connected yet.
13031303

1304-
- or -
1304+
-or-
13051305

13061306
The pipe is in a disconnected state.
13071307

1308-
- or -
1308+
-or-
13091309

13101310
The pipe handle has not been set. (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="T:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?
13111311
</exception>
@@ -1436,11 +1436,11 @@ If the operation is canceled before it completes, the returned task contains the
14361436
<exception cref="T:System.InvalidOperationException">
14371437
The pipe hasn't been connected yet.
14381438

1439-
- or -
1439+
-or-
14401440

14411441
The pipe is in a disconnected state.
14421442

1443-
- or -
1443+
-or-
14441444

14451445
The pipe handle has not been set. (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="T:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?
14461446
</exception>
@@ -1501,11 +1501,11 @@ If the operation is canceled before it completes, the returned task contains the
15011501
<exception cref="T:System.InvalidOperationException">
15021502
The pipe hasn't been connected yet.
15031503

1504-
- or -
1504+
-or-
15051505

15061506
The pipe is in a disconnected state.
15071507

1508-
- or -
1508+
-or-
15091509

15101510
The pipe handle has not been set. (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="T:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?
15111511
</exception>
@@ -1947,11 +1947,11 @@ If the write operation is successful, the position within the stream advances by
19471947
<exception cref="T:System.InvalidOperationException">
19481948
The pipe hasn't been connected yet.
19491949

1950-
- or -
1950+
-or-
19511951

19521952
The pipe is in a disconnected state.
19531953

1954-
- or -
1954+
-or-
19551955

19561956
The pipe handle has not been set. (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="T:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?
19571957
</exception>
@@ -2072,11 +2072,11 @@ If the operation is canceled before it completes, the returned task contains the
20722072
<exception cref="T:System.InvalidOperationException">
20732073
The pipe hasn't been connected yet.
20742074

2075-
- or -
2075+
-or-
20762076

20772077
The pipe is in a disconnected state.
20782078

2079-
- or -
2079+
-or-
20802080

20812081
The pipe handle has not been set. (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="T:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?
20822082
</exception>
@@ -2136,7 +2136,7 @@ If the operation is canceled before it completes, the returned task contains the
21362136
<exception cref="T:System.ArgumentOutOfRangeException">
21372137
The <paramref name="offset" /> is negative.
21382138

2139-
- or -
2139+
-or-
21402140

21412141
The <paramref name="count" /> is negative.
21422142
</exception>
@@ -2147,11 +2147,11 @@ The <paramref name="count" /> is negative.
21472147
<exception cref="T:System.InvalidOperationException">
21482148
The pipe hasn't been connected yet.
21492149

2150-
- or -
2150+
-or-
21512151

21522152
The pipe is in a disconnected state.
21532153

2154-
- or -
2154+
-or-
21552155

21562156
The pipe handle has not been set. (Did your <see cref="T:System.IO.Pipes.PipeStream" /> implementation call <see cref="T:System.IO.Pipes.PipeStream.InitializeHandle(Microsoft.Win32.SafeHandles.SafePipeHandle,System.Boolean,System.Boolean)" />?
21572157
</exception>

xml/System.Windows/CornerRadius.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,17 @@
3535
3636
<a name="xamlAttributeUsage_Duration"></a>
3737
## XAML Attribute Usage
38-
39-
```
38+
39+
```xaml
4040
<object property="TopLeft,TopRight,BottomRight,BottomLeft "/>
41-
- or -
41+
```
42+
43+
-or-
44+
45+
```xaml
4246
<object property="AllCorners"/>
4347
```
44-
48+
4549
<a name="xamlValues_Thickness"></a>
4650
## XAML Values
4751
*TopLeft*

xml/System.Windows/DependencyProperty.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,19 @@
5656
<a name="xamlAttributeUsage_DependencyProperty"></a>
5757
## XAML Attribute Usage
5858
59-
```
59+
```xaml
6060
<object property="dependencyPropertyName"/>
61-
- or -
61+
```
62+
63+
-or-
64+
65+
```xaml
6266
<object property="ownerType.dependencyPropertyName"/>
63-
- or -
67+
```
68+
69+
-or-
70+
71+
```xaml
6472
<object property="attachedPropertyOwnerType.attachedPropertyName"/>
6573
```
6674

xml/System.Windows/FigureLength.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,16 @@
3333
<a name="xamlAttributeUsage_Duration"></a>
3434
## XAML Attribute Usage
3535
36-
```
36+
```xaml
3737
<object property="length"/>
38-
- or -
38+
```
39+
40+
-or-
41+
42+
```xaml
3943
<object property="qualifiedDouble"/>
40-
```
41-
44+
```
45+
4246
<a name="xamlValues_Thickness"></a>
4347
## XAML Values
4448
*length*

xml/System.Windows/FrameworkContentElement.xml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -746,12 +746,16 @@
746746
<a name="xamlAttributeUsage_DataContext"></a>
747747
## XAML Attribute Usage
748748
749-
```
749+
```xaml
750750
<object DataContext="bindingUsage"/>
751-
- or -
751+
```
752+
753+
-or-
754+
755+
```xaml
752756
<object DataContext="{resourceExtension contextResourceKey}"/>
753-
```
754-
757+
```
758+
755759
<a name="xamlValues_DataContext"></a>
756760
## XAML Values
757761
*dataContextObject*
@@ -2793,20 +2797,24 @@
27932797
<a name="xamlPropertyElementUsage_ToolTip"></a>
27942798
## XAML Property Element Usage
27952799
2796-
```
2800+
```xaml
27972801
<object>
27982802
<object.ToolTip>
27992803
<ToolTip .../>
28002804
</object.ToolTip>
28012805
</object>
2802-
- or -
2806+
```
2807+
2808+
-or-
2809+
2810+
```xaml
28032811
<object>
28042812
<object.ToolTip>
28052813
toolTipObjectContent
28062814
</object.ToolTip>
28072815
</object>
2808-
```
2809-
2816+
```
2817+
28102818
<a name="xamlValues_ToolTip"></a>
28112819
## XAML Values
28122820
*toolTipContent*

0 commit comments

Comments
 (0)