Skip to content

Commit

Permalink
Update TODO coments #665
Browse files Browse the repository at this point in the history
  • Loading branch information
ralarcon committed Jul 12, 2017
1 parent d98dc2b commit e174de0
Show file tree
Hide file tree
Showing 36 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion code/test/Core.Test/TestData/Merge/Source.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected override void OnActivated(IActivatedEventArgs args)
{
var toastArgs = args as ToastNotificationActivatedEventArgs;
var arguments = toastArgs.Argument;
//TODO UWPTemplates: Handle activation from toast notification,
// TODO WTS: Handle activation from toast notification,
//for more info handling activation see
//https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/07/08/quickstart-sending-a-local-toast-notification-and-handling-activations-from-it-windows-10/
}
Expand Down
2 changes: 1 addition & 1 deletion code/test/Core.Test/TestData/Merge/Source_expected.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected override void OnActivated(IActivatedEventArgs args)
//INSIDE IF!!
var toastArgs = args as ToastNotificationActivatedEventArgs;
var arguments = toastArgs.Argument;
//TODO UWPTemplates: Handle activation from toast notification,
// TODO WTS: Handle activation from toast notification,
//for more info handling activation see
//https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/07/08/quickstart-sending-a-local-toast-notification-and-handling-activations-from-it-windows-10/
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override void Register()
Name = taskName
};

// TODO UWPTemplates: Define your trigger here and set your conditions
// TODO WTS: Define your trigger here and set your conditions
// Note conditions are optional
// Documentation: https://docs.microsoft.com/windows/uwp/launch-resume/create-and-register-an-inproc-background-task

Expand All @@ -49,7 +49,7 @@ public override Task RunAsyncInternal(IBackgroundTaskInstance taskInstance)
return Task.Run(() =>
{

// TODO UWPTemplates: Insert the code that should be executed in the background task here.
// TODO WTS: Insert the code that should be executed in the background task here.
// This sample initializes a timer that counts to 100 in steps of 10. It updates Message each time.

// Documentation:
Expand All @@ -68,7 +68,7 @@ public override Task RunAsyncInternal(IBackgroundTaskInstance taskInstance)

public override void OnCanceled(IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason)
{
// TODO UWPTemplates: Insert code to handle the cancelation request here.
// TODO WTS: Insert code to handle the cancelation request here.
// Documentation: https://docs.microsoft.com/windows/uwp/launch-resume/handle-a-cancelled-background-task
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public sealed partial class FirstRunDialog : ContentDialog
{
public FirstRunDialog()
{
// TODO UWPTemplates: Update the contents of this dialog with any important information you want to show when the app is used for the first time.
// TODO WTS: Update the contents of this dialog with any important information you want to show when the app is used for the first time.
this.InitializeComponent();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class ActivationService
private async Task StartupAsync()
{
//{[{
// TODO UWPTemplates: To use the HubNotificationService especific data related with your Azure Notification Hubs is required.
// TODO WTS: To use the HubNotificationService especific data related with your Azure Notification Hubs is required.
// 1. Go to the HubNotificationsFeatureService class, in the InitializeAsync() method, provide the Hub Name and DefaultListenSharedAccessSignature.
// 2. Uncomment the following line (an exception is thrown if it is executed before the previous information is provided).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public async void InitializeAsync()

protected override async Task HandleInternalAsync(ToastNotificationActivatedEventArgs args)
{
// TODO UWPTemplates: Handle activation from toast notification,
// TODO WTS: Handle activation from toast notification,
// for more info handling activation see
// Documentation: https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/07/08/quickstart-sending-a-local-toast-notification-and-handling-activations-from-it-windows-10/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void SampleUpdate()

public async Task SamplePinSecondary(string pageName)
{
// TODO UWPTemplates: Call this method to Pin a Secondary Tile from a page.
// TODO WTS: Call this method to Pin a Secondary Tile from a page.
// You also must implement the navigation to this specific page in the OnLaunched event handler on App.xaml.cs
var tile = new SecondaryTile(DateTime.Now.Ticks.ToString());
tile.Arguments = pageName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ protected override bool CanHandleInternal(LaunchActivatedEventArgs args)
private bool LaunchFromSecondaryTile(LaunchActivatedEventArgs args)
{
// If app is launched from a SecondaryTile, tile arguments property is contained in args.Arguments
// TODO UWPTemplates: Implement your own logic to determine if you can handle the SecondaryTile activation
// TODO WTS: Implement your own logic to determine if you can handle the SecondaryTile activation
return false;
}

private bool LaunchFromLiveTileUpdate(LaunchActivatedEventArgs args)
{
// If app is launched from a LiveTile notification update, TileContent arguments property is contained in args.TileActivatedInfo.RecentlyShownNotifications
// TODO UWPTemplates: Implement your own logic to determine if you can handle the LiveTile notification update activation
// TODO WTS: Implement your own logic to determine if you can handle the LiveTile notification update activation
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/Features/SampleData/Models/Order.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Param_ItemNamespace.Models
{
// TODO UWPTemplates: This is used by the Sample Grid Data. Remove this once your grid page is displaying real data
// TODO WTS: This is used by the Sample Grid Data. Remove this once your grid page is displaying real data
public class Order
{
public long OrderId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Param_ItemNamespace.Services
{
// This class holds sample data used by some generated pages to show how they can be used.
// TODO UWPTemplates: Delete this file once your app is using real data.
// TODO WTS: Delete this file once your app is using real data.
public static class SampleDataService
{
private static IEnumerable<Order> AllOrders()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ namespace Param_ItemNamespace.Services
{
internal class SuspendAndResumeService : ActivationHandler<LaunchActivatedEventArgs>
{
// TODO UWPTemplates: For more information regarding the application lifecycle and how to handle suspend and resume, please see:
// TODO WTS: For more information regarding the application lifecycle and how to handle suspend and resume, please see:
// Documentation: https://docs.microsoft.com/windows/uwp/launch-resume/app-lifecycle

private const string stateFilename = "suspensionState";

// TODO UWPTemplates: This event is fired just before the app enters in background. Subscribe to this event if you want to save your current state.
// TODO WTS: This event is fired just before the app enters in background. Subscribe to this event if you want to save your current state.
public event EventHandler<OnBackgroundEnteringEventArgs> OnBackgroundEntering;

public async Task SaveStateAsync()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ protected override async Task HandleInternalAsync(LaunchActivatedEventArgs args)
{
//^^
//{[{
// TODO UWPTemplates: This is a sample on how to show a toast notification.
// TODO WTS: This is a sample on how to show a toast notification.
// You can use this sample to create toast notifications where needed in your app.
Singleton<ToastNotificationsFeatureService>.Instance.ShowToastNotificationSample();
//}]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public void ShowToastNotificationSample()
// Create the toast content
var content = new ToastContent()
{
// TODO UWPTemplates: Check this documentation to know more about the Launch property
// TODO WTS: Check this documentation to know more about the Launch property
// Documentation: https://developer.microsoft.com/en-us/windows/uwp-community-toolkit/api/microsoft_toolkit_uwp_notifications_toastcontent
Launch = "ToastContentActivationParams",

Expand All @@ -37,7 +37,7 @@ public void ShowToastNotificationSample()
{
Buttons =
{
// TODO UWPTemplates: Check this documentation to know more about Toast Buttons
// TODO WTS: Check this documentation to know more about Toast Buttons
// Documentation: https://developer.microsoft.com/en-us/windows/uwp-community-toolkit/api/microsoft_toolkit_uwp_notifications_toastbutton
new ToastButton("OK", "ToastButtonActivationArguments")
{
Expand All @@ -52,7 +52,7 @@ public void ShowToastNotificationSample()
// Create the toast
var toast = new ToastNotification(content.GetXml())
{
// TODO UWPTemplates: Gets or sets the unique identifier of this notification within the notification Group. Max length 16 characters.
// TODO WTS: Gets or sets the unique identifier of this notification within the notification Group. Max length 16 characters.
// Documentation: https://docs.microsoft.com/uwp/api/windows.ui.notifications.toastnotification
Tag = "ToastTag"
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void ShowToastNotification(ToastNotification toastNotification)

protected override async Task HandleInternalAsync(ToastNotificationActivatedEventArgs args)
{
// TODO UWPTemplates: Handle activation from toast notification,
// TODO WTS: Handle activation from toast notification,
// for more info on handling activation see
// Documentation: https://blogs.msdn.microsoft.com/tiles_and_toasts/2015/07/08/quickstart-sending-a-local-toast-notification-and-handling-activations-from-it-windows-10/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public sealed partial class WhatsNewDialog : ContentDialog
{
public WhatsNewDialog()
{
// TODO UWPTemplates: Update the contents of this dialog every time you release a new version of the app
// TODO WTS: Update the contents of this dialog every time you release a new version of the app
this.InitializeComponent();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public ObservableCollection<DataPoint> Source
{
get
{
// TODO UWPTemplates: Replace this with your actual data
// TODO WTS: Replace this with your actual data
return SampleDataService.GetChartSampleData();
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/Pages/Chart/ViewModels/ChartViewViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public ObservableCollection<DataPoint> Source
{
get
{
// TODO UWPTemplates: Replace this with your actual data
// TODO WTS: Replace this with your actual data
return SampleDataService.GetChartSampleData();
}
}
Expand Down
4 changes: 2 additions & 2 deletions templates/Pages/Grid.CodeBehind/Views/GridViewPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class GridViewPage : Page, System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Change the grid as appropriate to your app.
// TODO WTS: Change the grid as appropriate to your app.
// For help see http://docs.telerik.com/windows-universal/controls/raddatagrid/gettingstarted
// You may also want to extend the grid to work with the RadDataForm http://docs.telerik.com/windows-universal/controls/raddataform/dataform-gettingstarted
public GridViewPage()
Expand All @@ -20,7 +20,7 @@ public ObservableCollection<Order> Source
{
get
{
// TODO UWPTemplates: Replace this with your actual data
// TODO WTS: Replace this with your actual data
return SampleDataService.GetGridSampleData();
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/Pages/Grid/ViewModels/GridViewViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public ObservableCollection<Order> Source
{
get
{
// TODO UWPTemplates: Replace this with your actual data
// TODO WTS: Replace this with your actual data
return SampleDataService.GetGridSampleData();
}
}
Expand Down
2 changes: 1 addition & 1 deletion templates/Pages/Grid/Views/GridViewPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class GridViewPage : Page
{
// TODO UWPTemplates: Change the grid as appropriate to your app.
// TODO WTS: Change the grid as appropriate to your app.
// For help see http://docs.telerik.com/windows-universal/controls/raddatagrid/gettingstarted
// You may also want to extend the grid to work with the RadDataForm http://docs.telerik.com/windows-universal/controls/raddataform/dataform-gettingstarted
public GridViewPage()
Expand Down
6 changes: 3 additions & 3 deletions templates/Pages/Map.CodeBehind/Views/MapPagePage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class MapPagePage : Page, System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Set your preferred default zoom level
// TODO WTS: Set your preferred default zoom level
private const double defaultZoomLevel = 17;

private readonly LocationService locationService;

// TODO UWPTemplates: Set your preferred default location if a geolock can't be found.
// TODO WTS: Set your preferred default location if a geolock can't be found.
private readonly BasicGeoposition defaultPosition = new BasicGeoposition()
{
Latitude = 47.609425,
Expand Down Expand Up @@ -71,7 +71,7 @@ public async Task InitializeAsync()

if (mapControl != null)
{
// TODO UWPTemplates: Set your map service token. If you don't have it, request at https://www.bingmapsportal.com/
// TODO WTS: Set your map service token. If you don't have it, request at https://www.bingmapsportal.com/
mapControl.MapServiceToken = "";

AddMapIcon(Center, "Map_YourLocation".GetLocalized());
Expand Down
6 changes: 3 additions & 3 deletions templates/Pages/Map/ViewModels/MapPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ namespace Param_ItemNamespace.ViewModels
{
public class MapPageViewModel : System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Set your preferred default zoom level
// TODO WTS: Set your preferred default zoom level
private const double defaultZoomLevel = 17;

private readonly LocationService locationService;

// TODO UWPTemplates: Set your preferred default location if a geolock can't be found.
// TODO WTS: Set your preferred default location if a geolock can't be found.
private readonly BasicGeoposition defaultPosition = new BasicGeoposition()
{
Latitude = 47.609425,
Expand Down Expand Up @@ -70,7 +70,7 @@ public async Task InitializeAsync(MapControl map)

if (map != null)
{
// TODO UWPTemplates: Set your map service token. If you don't have it, request at https://www.bingmapsportal.com/
// TODO WTS: Set your map service token. If you don't have it, request at https://www.bingmapsportal.com/
map.MapServiceToken = "";

AddMapIcon(map, Center, "Map_YourLocation".GetLocalized());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class MediaPlayerViewPage : Page, System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Set your video default and image here
// TODO WTS: Set your video default and image here
// For more on the MediaPlayer and adjusting controls and behavior see https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/media-playback
private const string defaultSource = "https://sec.ch9.ms/ch9/db15/43c9fbed-535e-4013-8a4a-a74cc00adb15/C9L12WinTemplateStudio_high.mp4";
// The poster image is displayed until the video is started
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Param_ItemNamespace.ViewModels
{
public class MediaPlayerViewViewModel : System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Set your video default and image here
// TODO WTS: Set your video default and image here
private const string defaultSource = "https://sec.ch9.ms/ch9/db15/43c9fbed-535e-4013-8a4a-a74cc00adb15/C9L12WinTemplateStudio_high.mp4";
// The poster image is displayed until the video is started
private const string defaultPoster = "https://sec.ch9.ms/ch9/db15/43c9fbed-535e-4013-8a4a-a74cc00adb15/C9L12WinTemplateStudio_960.jpg";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class SettingsPagePage : Page, System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Add other settings as necessary. For help see https://github.com/Microsoft/WindowsTemplateStudio/blob/master/docs/pages/settings.md
// TODO UWPTemplates: Setup your privacy web in your Resource File, currently set to https://YourPrivacyUrlGoesHere
// TODO WTS: Add other settings as necessary. For help see https://github.com/Microsoft/WindowsTemplateStudio/blob/master/docs/pages/settings.md
// TODO WTS: Setup your privacy web in your Resource File, currently set to https://YourPrivacyUrlGoesHere

private bool _isLightThemeEnabled;
public bool IsLightThemeEnabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Param_ItemNamespace.ViewModels
{
public class SettingsPageViewModel : System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Add other settings as necessary. For help see https://github.com/Microsoft/WindowsTemplateStudio/blob/master/docs/pages/settings.md
// TODO WTS: Add other settings as necessary. For help see https://github.com/Microsoft/WindowsTemplateStudio/blob/master/docs/pages/settings.md
private bool _isLightThemeEnabled;
public bool IsLightThemeEnabled
{
Expand Down
2 changes: 1 addition & 1 deletion templates/Pages/Settings/Views/SettingsPagePage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class SettingsPagePage : Page
{
// TODO UWPTemplates: Setup your privacy web in your Resource File, currently set to https://YourPrivacyUrlGoesHere
// TODO WTS: Setup your privacy web in your Resource File, currently set to https://YourPrivacyUrlGoesHere

public SettingsPagePage()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Param_ItemNamespace.Views
{
public sealed partial class WebViewPagePage : Page, System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Set your hyperlink default here
// TODO WTS: Set your hyperlink default here
private const string defaultUrl = "https://developer.microsoft.com/en-us/windows/apps";

private Uri _source;
Expand Down
2 changes: 1 addition & 1 deletion templates/Pages/WebView/ViewModels/WebViewPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Param_ItemNamespace.ViewModels
{
public class WebViewPageViewModel : System.ComponentModel.INotifyPropertyChanged
{
// TODO UWPTemplates: Set your hyperlink default here
// TODO WTS: Set your hyperlink default here
private const string defaultUrl = "https://developer.microsoft.com/en-us/windows/apps";

private Uri _source;
Expand Down
Loading

0 comments on commit e174de0

Please sign in to comment.