Skip to content

Commit 274492b

Browse files
committed
Removed TabView/TabViewItem, HeaderedTextBlock, LightBehavior/AnimationExtensions.Light, and some other smaller methods marked as Obsolete.
1 parent 30452cf commit 274492b

Some content is hidden

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

48 files changed

+4
-3200
lines changed

Microsoft.Toolkit.Services/Services/LinkedIn/LinkedInDataProvider.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -154,17 +154,6 @@ public async Task<bool> LoginAsync()
154154
return false;
155155
}
156156

157-
/// <summary>
158-
/// Log user out of LinkedIn.
159-
/// </summary>
160-
[Obsolete("Logout is deprecated, please use LogoutAsync instead.", true)]
161-
public void Logout()
162-
{
163-
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
164-
LogoutAsync();
165-
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
166-
}
167-
168157
/// <summary>
169158
/// Log user out of LinkedIn.
170159
/// </summary>

Microsoft.Toolkit.Services/Services/LinkedIn/LinkedInService.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,6 @@ public Task<LinkedInShareResponse> ShareActivityAsync(LinkedInShareRequest share
9292
return Provider.ShareDataAsync<LinkedInShareRequest, LinkedInShareResponse>(shareRequest);
9393
}
9494

95-
/// <summary>
96-
/// Log user out of LinkedIn.
97-
/// </summary>
98-
[Obsolete("Logout is deprecated, please use LogoutAsync instead.", true)]
99-
public void Logout()
100-
{
101-
Provider.Logout();
102-
}
103-
10495
/// <summary>
10596
/// Log user out of LinkedIn.
10697
/// </summary>

Microsoft.Toolkit.Services/Services/Twitter/TwitterDataProvider.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -273,17 +273,6 @@ public async Task<bool> LoginAsync()
273273
return false;
274274
}
275275

276-
/// <summary>
277-
/// Log user out of Twitter.
278-
/// </summary>
279-
[Obsolete("Logout is deprecated, please use LogoutAsync instead.", true)]
280-
public void Logout()
281-
{
282-
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
283-
LogoutAsync();
284-
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
285-
}
286-
287276
/// <summary>
288277
/// Log user out of Twitter.
289278
/// </summary>

Microsoft.Toolkit.Services/Services/Twitter/TwitterService.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -400,15 +400,6 @@ public Task<bool> LoginAsync()
400400
return Provider.LoginAsync();
401401
}
402402

403-
/// <summary>
404-
/// Log user out of Twitter.
405-
/// </summary>
406-
[Obsolete("Logout is deprecated, please use LogoutAsync instead.", true)]
407-
public void Logout()
408-
{
409-
Provider.Logout();
410-
}
411-
412403
/// <summary>
413404
/// Log user out of Twitter.
414405
/// </summary>

Microsoft.Toolkit.Services/Services/Weibo/WeiboDataProvider.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -163,17 +163,6 @@ public async Task<bool> LoginAsync()
163163
return false;
164164
}
165165

166-
/// <summary>
167-
/// Log user out of Weibo.
168-
/// </summary>
169-
[Obsolete("Logout is deprecated, please use LogoutAsync instead.", true)]
170-
public void Logout()
171-
{
172-
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
173-
LogoutAsync();
174-
#pragma warning restore CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
175-
}
176-
177166
/// <summary>
178167
/// Log user out of Weibo.
179168
/// </summary>

Microsoft.Toolkit.Services/Services/Weibo/WeiboService.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,6 @@ public Task<bool> LoginAsync()
183183
return Provider.LoginAsync();
184184
}
185185

186-
/// <summary>
187-
/// Log user out of Weibo.
188-
/// </summary>
189-
[Obsolete("Logout is deprecated, please use LogoutAsync instead.", true)]
190-
public void Logout()
191-
{
192-
Provider.Logout();
193-
}
194-
195186
/// <summary>
196187
/// Log user out of Weibo.
197188
/// </summary>

Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@
280280
<Content Include="SamplePages\RemoteDeviceHelper\RemoteDeviceHelper.png" />
281281
<Content Include="SamplePages\ImageCropper\ImageCropper.png" />
282282
<Content Include="SamplePages\StaggeredLayout\StaggeredLayout.png" />
283-
<Content Include="SamplePages\TabView\TabView.png" />
284283
<Content Include="SamplePages\PeoplePicker\PeoplePicker.png" />
285284
<Content Include="SamplePages\PersonView\PersonView.png" />
286285
<Content Include="SamplePages\TokenizingTextBox\TokenizingTextBox.png" />
@@ -318,7 +317,6 @@
318317
<Content Include="SamplePages\AlignmentGrid\AlignmentGrid.png" />
319318
<Content Include="SamplePages\HeaderedContentControl\HeaderedContentControl.png" />
320319
<Content Include="SamplePages\HeaderedItemsControl\HeaderedItemsControl.png" />
321-
<Content Include="SamplePages\HeaderedTextBlock\HeaderedTextBlock.png" />
322320
<Content Include="SamplePages\ImageBlendBrush\ImageBlendBrush.png" />
323321
<Content Include="SamplePages\ImageCache\ImageCache.png" />
324322
<Content Include="SamplePages\ImageEx\ImageEx.png" />
@@ -327,7 +325,6 @@
327325
<Content Include="SamplePages\Incremental Loading Collection\icon.png" />
328326
<Content Include="SamplePages\LayoutTransformControl\LayoutTransformControl.png" />
329327
<Content Include="SamplePages\InfiniteCanvas\InfiniteCanvas.png" />
330-
<Content Include="SamplePages\Light\LightBehavior.png" />
331328
<Content Include="SamplePages\LinkedIn Service\LinkedInLogo.png" />
332329
<Content Include="Assets\Helpers.png" />
333330
<Content Include="SamplePages\LiveTile\LiveTile.png" />
@@ -369,7 +366,6 @@
369366
<Content Include="SamplePages\Twitter Service\TwitterCode.bind" />
370367
<Content Include="SamplePages\Twitter Service\icon.png" />
371368
<Content Include="SamplePages\Facebook Service\FacebookCode.bind" />
372-
<Content Include="SamplePages\HeaderedTextBlock\HeaderedTextBlockCode.bind" />
373369
<Content Include="SamplePages\ViewExtensions\ViewExtensions.png" />
374370
<Content Include="SamplePages\ViewportBehavior\ViewportBehavior.png" />
375371
<Content Include="SamplePages\Visual Extensions\VisualExtensions.png" />
@@ -429,8 +425,6 @@
429425
<Content Include="SamplePages\Connected Animations\ConnectedAnimationsCode.bind" />
430426
<Content Include="SamplePages\Loading\LoadingCode.bind" />
431427
<Content Include="SamplePages\ReorderGridAnimation\ReorderGrid.bind" />
432-
<Content Include="SamplePages\Light\LightBehaviorCode.bind" />
433-
<Content Include="SamplePages\Light\LightBehaviorXaml.bind" />
434428
<Content Include="SamplePages\TextBoxMask\TextBoxMask.bind" />
435429
<Content Include="SamplePages\TileControl\TileControl.bind">
436430
<SubType>Designer</SubType>
@@ -512,9 +506,6 @@
512506
<Content Include="SamplePages\RemoteDevicePicker\RemoteDevicePickerCode.bind" />
513507
<Content Include="SamplePages\DataGrid\DataGridCode.bind" />
514508
<Content Include="SamplePages\ViewportBehavior\ViewportBehaviorCode.bind" />
515-
<Content Include="SamplePages\TabView\TabViewXaml.bind">
516-
<SubType>Designer</SubType>
517-
</Content>
518509
<Content Include="SamplePages\Weibo Service\WeiboCode.bind" />
519510
<Compile Include="Common\TextBlockHyperlinkBehavior.cs" />
520511
<Compile Include="SamplePages\EnumValuesExtension\EnumValuesExtensionPage.xaml.cs">
@@ -656,9 +647,6 @@
656647
<Compile Include="Models\LandingPageResource.cs" />
657648
<Compile Include="Models\LandingPageLink.cs" />
658649
<Compile Include="Models\PaneState.cs" />
659-
<Compile Include="SamplePages\TabView\TabViewPage.xaml.cs">
660-
<DependentUpon>TabViewPage.xaml</DependentUpon>
661-
</Compile>
662650
<Compile Include="SamplePages\UniformGrid\UniformGridPage.xaml.cs">
663651
<DependentUpon>UniformGridPage.xaml</DependentUpon>
664652
</Compile>
@@ -867,9 +855,6 @@
867855
</Compile>
868856
<Compile Include="SamplePages\Incremental Loading Collection\PeopleSource.cs" />
869857
<Compile Include="SamplePages\Incremental Loading Collection\Person.cs" />
870-
<Compile Include="SamplePages\Light\LightBehaviorPage.xaml.cs">
871-
<DependentUpon>LightBehaviorPage.xaml</DependentUpon>
872-
</Compile>
873858
<Compile Include="SamplePages\LinkedIn Service\LinkedInPage.xaml.cs">
874859
<DependentUpon>LinkedInPage.xaml</DependentUpon>
875860
</Compile>
@@ -921,9 +906,6 @@
921906
<Compile Include="SamplePages\Fade\FadeBehaviorPage.xaml.cs">
922907
<DependentUpon>FadeBehaviorPage.xaml</DependentUpon>
923908
</Compile>
924-
<Compile Include="SamplePages\HeaderedTextBlock\HeaderedTextBlockPage.xaml.cs">
925-
<DependentUpon>HeaderedTextBlockPage.xaml</DependentUpon>
926-
</Compile>
927909
<Compile Include="SamplePages\ImageEx\ImageExPage.xaml.cs">
928910
<DependentUpon>ImageExPage.xaml</DependentUpon>
929911
</Compile>
@@ -1056,10 +1038,6 @@
10561038
<SubType>Designer</SubType>
10571039
<Generator>MSBuild:Compile</Generator>
10581040
</Page>
1059-
<Page Include="SamplePages\TabView\TabViewPage.xaml">
1060-
<Generator>MSBuild:Compile</Generator>
1061-
<SubType>Designer</SubType>
1062-
</Page>
10631041
<Page Include="SamplePages\PeoplePicker\PeoplePickerPage.xaml">
10641042
<Generator>MSBuild:Compile</Generator>
10651043
<SubType>Designer</SubType>
@@ -1352,10 +1330,6 @@
13521330
<Generator>MSBuild:Compile</Generator>
13531331
<SubType>Designer</SubType>
13541332
</Page>
1355-
<Page Include="SamplePages\Light\LightBehaviorPage.xaml">
1356-
<SubType>Designer</SubType>
1357-
<Generator>MSBuild:Compile</Generator>
1358-
</Page>
13591333
<Page Include="SamplePages\LinkedIn Service\LinkedInPage.xaml">
13601334
<SubType>Designer</SubType>
13611335
<Generator>MSBuild:Compile</Generator>
@@ -1424,10 +1398,6 @@
14241398
<Generator>MSBuild:Compile</Generator>
14251399
<SubType>Designer</SubType>
14261400
</Page>
1427-
<Page Include="SamplePages\HeaderedTextBlock\HeaderedTextBlockPage.xaml">
1428-
<SubType>Designer</SubType>
1429-
<Generator>MSBuild:Compile</Generator>
1430-
</Page>
14311401
<Page Include="SamplePages\ImageEx\ImageExPage.xaml">
14321402
<Generator>MSBuild:Compile</Generator>
14331403
<SubType>Designer</SubType>

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/HeaderedTextBlock/HeaderedTextBlockCode.bind

Lines changed: 0 additions & 16 deletions
This file was deleted.

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/HeaderedTextBlock/HeaderedTextBlockPage.xaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)