Skip to content

Commit 75da45c

Browse files
committed
Removed TabView/TabViewItem, HeaderedTextBlock, and some other smaller methods marked as Obsolete.
1 parent 62145a0 commit 75da45c

Some content is hidden

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

41 files changed

+0
-2779
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 & 21 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" />
@@ -317,7 +316,6 @@
317316
<Content Include="SamplePages\AlignmentGrid\AlignmentGrid.png" />
318317
<Content Include="SamplePages\HeaderedContentControl\HeaderedContentControl.png" />
319318
<Content Include="SamplePages\HeaderedItemsControl\HeaderedItemsControl.png" />
320-
<Content Include="SamplePages\HeaderedTextBlock\HeaderedTextBlock.png" />
321319
<Content Include="SamplePages\ImageBlendBrush\ImageBlendBrush.png" />
322320
<Content Include="SamplePages\ImageCache\ImageCache.png" />
323321
<Content Include="SamplePages\ImageEx\ImageEx.png" />
@@ -367,8 +365,6 @@
367365
<Content Include="SamplePages\Twitter Service\TwitterLogo.png" />
368366
<Content Include="SamplePages\Twitter Service\TwitterCode.bind" />
369367
<Content Include="SamplePages\Twitter Service\icon.png" />
370-
<Content Include="SamplePages\Facebook Service\FacebookCode.bind" />
371-
<Content Include="SamplePages\HeaderedTextBlock\HeaderedTextBlockCode.bind" />
372368
<Content Include="SamplePages\ViewExtensions\ViewExtensions.png" />
373369
<Content Include="SamplePages\ViewportBehavior\ViewportBehavior.png" />
374370
<Content Include="SamplePages\Visual Extensions\VisualExtensions.png" />
@@ -511,9 +507,6 @@
511507
<Content Include="SamplePages\RemoteDevicePicker\RemoteDevicePickerCode.bind" />
512508
<Content Include="SamplePages\DataGrid\DataGridCode.bind" />
513509
<Content Include="SamplePages\ViewportBehavior\ViewportBehaviorCode.bind" />
514-
<Content Include="SamplePages\TabView\TabViewXaml.bind">
515-
<SubType>Designer</SubType>
516-
</Content>
517510
<Content Include="SamplePages\Weibo Service\WeiboCode.bind" />
518511
<Compile Include="Common\TextBlockHyperlinkBehavior.cs" />
519512
<Compile Include="SamplePages\EnumValuesExtension\EnumValuesExtensionPage.xaml.cs">
@@ -655,9 +648,6 @@
655648
<Compile Include="Models\LandingPageResource.cs" />
656649
<Compile Include="Models\LandingPageLink.cs" />
657650
<Compile Include="Models\PaneState.cs" />
658-
<Compile Include="SamplePages\TabView\TabViewPage.xaml.cs">
659-
<DependentUpon>TabViewPage.xaml</DependentUpon>
660-
</Compile>
661651
<Compile Include="SamplePages\UniformGrid\UniformGridPage.xaml.cs">
662652
<DependentUpon>UniformGridPage.xaml</DependentUpon>
663653
</Compile>
@@ -920,9 +910,6 @@
920910
<Compile Include="SamplePages\Fade\FadeBehaviorPage.xaml.cs">
921911
<DependentUpon>FadeBehaviorPage.xaml</DependentUpon>
922912
</Compile>
923-
<Compile Include="SamplePages\HeaderedTextBlock\HeaderedTextBlockPage.xaml.cs">
924-
<DependentUpon>HeaderedTextBlockPage.xaml</DependentUpon>
925-
</Compile>
926913
<Compile Include="SamplePages\ImageEx\ImageExPage.xaml.cs">
927914
<DependentUpon>ImageExPage.xaml</DependentUpon>
928915
</Compile>
@@ -1055,10 +1042,6 @@
10551042
<SubType>Designer</SubType>
10561043
<Generator>MSBuild:Compile</Generator>
10571044
</Page>
1058-
<Page Include="SamplePages\TabView\TabViewPage.xaml">
1059-
<Generator>MSBuild:Compile</Generator>
1060-
<SubType>Designer</SubType>
1061-
</Page>
10621045
<Page Include="SamplePages\PeoplePicker\PeoplePickerPage.xaml">
10631046
<Generator>MSBuild:Compile</Generator>
10641047
<SubType>Designer</SubType>
@@ -1423,10 +1406,6 @@
14231406
<Generator>MSBuild:Compile</Generator>
14241407
<SubType>Designer</SubType>
14251408
</Page>
1426-
<Page Include="SamplePages\HeaderedTextBlock\HeaderedTextBlockPage.xaml">
1427-
<SubType>Designer</SubType>
1428-
<Generator>MSBuild:Compile</Generator>
1429-
</Page>
14301409
<Page Include="SamplePages\ImageEx\ImageExPage.xaml">
14311410
<Generator>MSBuild:Compile</Generator>
14321411
<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.

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

Lines changed: 0 additions & 18 deletions
This file was deleted.
Binary file not shown.

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TabView/TabViewPage.xaml

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

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TabView/TabViewPage.xaml.cs

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

0 commit comments

Comments
 (0)