Skip to content

Commit adec214

Browse files
authored
Merge pull request #3678 from MicrosoftDocs/drewbat/broken-links-2023-07-18
Fixing broken links
2 parents ad65f49 + 5b8f321 commit adec214

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hub/apps/develop/widgets/implement-widget-provider-cs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ public void DeleteWidget(string widgetId, string customState)
246246
}
247247
```
248248

249-
For this example, in addition to removing the widget with the specified from the list of enabled widgets, we also check to see if the list is now empty, and if so, we set an event that will be used later to allow the app to exit when there are no enabled widgets. Inside your class definition, add the declaration of the [ManualResetEvent](dotnet/api/system.threading.manualresetevent) and a public accessor function.
249+
For this example, in addition to removing the widget with the specified from the list of enabled widgets, we also check to see if the list is now empty, and if so, we set an event that will be used later to allow the app to exit when there are no enabled widgets. Inside your class definition, add the declaration of the [ManualResetEvent](/dotnet/api/system.threading.manualresetevent) and a public accessor function.
250250

251251
```csharp
252252
// WidgetProvider.cs

uwp/audio-video-camera/system-supported-metadata-cues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ In the **RegisterMetadataHandlerForID3Cues** helper method, get an instance of t
142142

143143
:::code language="csharp" source="~/../snippets-windows/windows-uwp/audio-video-camera/MediaSource_RS1/cs/MainPage_Cues.xaml.cs" id="SnippetRegisterMetadataHandlerForID3Cues":::
144144

145-
In the handler for the **CueEntered** event, cast the data cue contained in the **Cue** property of the [**MediaCueEventArgs**](/uwp/api/windows.media.core.mediacueeventargs) to an [**DataCue**](/uwp/api/windows.media.core.datacue). Check to make sure the **DataCue** and the [**Data**](/uwp/api/windows.media.core.datacue.Data) property of the cue are not null. Extended EMU comments are provided in the form raw bytes in the transport stream (see [http://id3.org/id3v2.4.0-structure](https://id3.org/id3v2.4.0-structure)). Create a new **DataReader** to read the cue data by calling [**DataReader.FromBuffer**](/uwp/api/windows.storage.streams.datareader.FromBuffer). In this example, the header values from the ID3 tag are read from the cue data and written to the debug output.
145+
In the handler for the **CueEntered** event, cast the data cue contained in the **Cue** property of the [**MediaCueEventArgs**](/uwp/api/windows.media.core.mediacueeventargs) to an [**DataCue**](/uwp/api/windows.media.core.datacue). Check to make sure the **DataCue** and the [**Data**](/uwp/api/windows.media.core.datacue.Data) property of the cue are not null. Extended EMU comments are provided in the form raw bytes in the transport stream (see [ID3](https://en.wikipedia.org/wiki/ID3)). Create a new **DataReader** to read the cue data by calling [**DataReader.FromBuffer**](/uwp/api/windows.storage.streams.datareader.FromBuffer). In this example, the header values from the ID3 tag are read from the cue data and written to the debug output.
146146

147147
:::code language="csharp" source="~/../snippets-windows/windows-uwp/audio-video-camera/MediaSource_RS1/cs/MainPage_Cues.xaml.cs" id="SnippetID3CueEntered":::
148148

0 commit comments

Comments
 (0)