diff --git a/.gitignore b/.gitignore index 407c8bf..a98fb5a 100644 --- a/.gitignore +++ b/.gitignore @@ -111,3 +111,4 @@ UpgradeLog*.XML .DS_Store /packages +/DropNetRT.Sample.WP8/packages diff --git a/.nuget/NuGet.Config b/.nuget/NuGet.Config deleted file mode 100644 index 67f8ea0..0000000 --- a/.nuget/NuGet.Config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.nuget/NuGet.exe b/.nuget/NuGet.exe deleted file mode 100644 index c41a0d0..0000000 Binary files a/.nuget/NuGet.exe and /dev/null differ diff --git a/.nuget/NuGet.targets b/.nuget/NuGet.targets deleted file mode 100644 index 3f8c37b..0000000 --- a/.nuget/NuGet.targets +++ /dev/null @@ -1,144 +0,0 @@ - - - - $(MSBuildProjectDirectory)\..\ - - - false - - - false - - - true - - - false - - - - - - - - - - - $([System.IO.Path]::Combine($(SolutionDir), ".nuget")) - - - - - $(SolutionDir).nuget - - - - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName.Replace(' ', '_')).config - $(MSBuildProjectDirectory)\packages.$(MSBuildProjectName).config - - - - $(MSBuildProjectDirectory)\packages.config - $(PackagesProjectConfig) - - - - - $(NuGetToolsPath)\NuGet.exe - @(PackageSource) - - "$(NuGetExePath)" - mono --runtime=v4.0.30319 "$(NuGetExePath)" - - $(TargetDir.Trim('\\')) - - -RequireConsent - -NonInteractive - - "$(SolutionDir) " - "$(SolutionDir)" - - - $(NuGetCommand) install "$(PackagesConfig)" -source "$(PackageSources)" $(NonInteractiveSwitch) $(RequireConsentSwitch) -solutionDir $(PaddedSolutionDir) - $(NuGetCommand) pack "$(ProjectPath)" -Properties "Configuration=$(Configuration);Platform=$(Platform)" $(NonInteractiveSwitch) -OutputDirectory "$(PackageOutputDir)" -symbols - - - - RestorePackages; - $(BuildDependsOn); - - - - - $(BuildDependsOn); - BuildPackage; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/DropNetRT.Sample.WP8/App.xaml b/DropNetRT.Sample.WP8/App.xaml deleted file mode 100644 index f5cea62..0000000 --- a/DropNetRT.Sample.WP8/App.xaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/DropNetRT.Sample.WP8/App.xaml.cs b/DropNetRT.Sample.WP8/App.xaml.cs deleted file mode 100644 index 36a40f4..0000000 --- a/DropNetRT.Sample.WP8/App.xaml.cs +++ /dev/null @@ -1,229 +0,0 @@ -using System; -using System.Diagnostics; -using System.Resources; -using System.Windows; -using System.Windows.Markup; -using System.Windows.Navigation; -using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using DropNetRT.Sample.WP8.Resources; - -namespace DropNetRT.Sample.WP8 -{ - public partial class App : Application - { - public static DropNetRT.DropNetClient DropNetClient; - - - - /// - /// Provides easy access to the root frame of the Phone Application. - /// - /// The root frame of the Phone Application. - public static PhoneApplicationFrame RootFrame { get; private set; } - - /// - /// Constructor for the Application object. - /// - public App() - { - // Global handler for uncaught exceptions. - UnhandledException += Application_UnhandledException; - - // Standard XAML initialization - InitializeComponent(); - - // Phone-specific initialization - InitializePhoneApplication(); - - // Language display initialization - InitializeLanguage(); - - // Show graphics profiling information while debugging. - if (Debugger.IsAttached) - { - // Display the current frame rate counters. - Application.Current.Host.Settings.EnableFrameRateCounter = true; - - // Show the areas of the app that are being redrawn in each frame. - //Application.Current.Host.Settings.EnableRedrawRegions = true; - - // Enable non-production analysis visualization mode, - // which shows areas of a page that are handed off to GPU with a colored overlay. - //Application.Current.Host.Settings.EnableCacheVisualization = true; - - // Prevent the screen from turning off while under the debugger by disabling - // the application's idle detection. - // Caution:- Use this under debug mode only. Application that disables user idle detection will continue to run - // and consume battery power when the user is not using the phone. - PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; - } - - DropNetClient = new DropNetRT.DropNetClient("y0mm6cm3psurvi7", "zfeijf4xbzdi072"); - DropNetClient.UseSandbox = true; - } - - // Code to execute when the application is launching (eg, from Start) - // This code will not execute when the application is reactivated - private void Application_Launching(object sender, LaunchingEventArgs e) - { - } - - // Code to execute when the application is activated (brought to foreground) - // This code will not execute when the application is first launched - private void Application_Activated(object sender, ActivatedEventArgs e) - { - } - - // Code to execute when the application is deactivated (sent to background) - // This code will not execute when the application is closing - private void Application_Deactivated(object sender, DeactivatedEventArgs e) - { - } - - // Code to execute when the application is closing (eg, user hit Back) - // This code will not execute when the application is deactivated - private void Application_Closing(object sender, ClosingEventArgs e) - { - } - - // Code to execute if a navigation fails - private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e) - { - if (Debugger.IsAttached) - { - // A navigation has failed; break into the debugger - Debugger.Break(); - } - } - - // Code to execute on Unhandled Exceptions - private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) - { - if (Debugger.IsAttached) - { - // An unhandled exception has occurred; break into the debugger - Debugger.Break(); - } - } - - #region Phone application initialization - - // Avoid double-initialization - private bool phoneApplicationInitialized = false; - - // Do not add any additional code to this method - private void InitializePhoneApplication() - { - if (phoneApplicationInitialized) - return; - - // Create the frame but don't set it as RootVisual yet; this allows the splash - // screen to remain active until the application is ready to render. - RootFrame = new PhoneApplicationFrame(); - RootFrame.Navigated += CompleteInitializePhoneApplication; - - // Handle navigation failures - RootFrame.NavigationFailed += RootFrame_NavigationFailed; - - // Handle reset requests for clearing the backstack - RootFrame.Navigated += CheckForResetNavigation; - - // Ensure we don't initialize again - phoneApplicationInitialized = true; - } - - // Do not add any additional code to this method - private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e) - { - // Set the root visual to allow the application to render - if (RootVisual != RootFrame) - RootVisual = RootFrame; - - // Remove this handler since it is no longer needed - RootFrame.Navigated -= CompleteInitializePhoneApplication; - } - - private void CheckForResetNavigation(object sender, NavigationEventArgs e) - { - // If the app has received a 'reset' navigation, then we need to check - // on the next navigation to see if the page stack should be reset - if (e.NavigationMode == NavigationMode.Reset) - RootFrame.Navigated += ClearBackStackAfterReset; - } - - private void ClearBackStackAfterReset(object sender, NavigationEventArgs e) - { - // Unregister the event so it doesn't get called again - RootFrame.Navigated -= ClearBackStackAfterReset; - - // Only clear the stack for 'new' (forward) and 'refresh' navigations - if (e.NavigationMode != NavigationMode.New && e.NavigationMode != NavigationMode.Refresh) - return; - - // For UI consistency, clear the entire page stack - while (RootFrame.RemoveBackEntry() != null) - { - ; // do nothing - } - } - - #endregion - - // Initialize the app's font and flow direction as defined in its localized resource strings. - // - // To ensure that the font of your application is aligned with its supported languages and that the - // FlowDirection for each of those languages follows its traditional direction, ResourceLanguage - // and ResourceFlowDirection should be initialized in each resx file to match these values with that - // file's culture. For example: - // - // AppResources.es-ES.resx - // ResourceLanguage's value should be "es-ES" - // ResourceFlowDirection's value should be "LeftToRight" - // - // AppResources.ar-SA.resx - // ResourceLanguage's value should be "ar-SA" - // ResourceFlowDirection's value should be "RightToLeft" - // - // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. - // - private void InitializeLanguage() - { - try - { - // Set the font to match the display language defined by the - // ResourceLanguage resource string for each supported language. - // - // Fall back to the font of the neutral language if the Display - // language of the phone is not supported. - // - // If a compiler error is hit then ResourceLanguage is missing from - // the resource file. - RootFrame.Language = XmlLanguage.GetLanguage(AppResources.ResourceLanguage); - - // Set the FlowDirection of all elements under the root frame based - // on the ResourceFlowDirection resource string for each - // supported language. - // - // If a compiler error is hit then ResourceFlowDirection is missing from - // the resource file. - FlowDirection flow = (FlowDirection)Enum.Parse(typeof(FlowDirection), AppResources.ResourceFlowDirection); - RootFrame.FlowDirection = flow; - } - catch - { - // If an exception is caught here it is most likely due to either - // ResourceLangauge not being correctly set to a supported language - // code or ResourceFlowDirection is set to a value other than LeftToRight - // or RightToLeft. - - if (Debugger.IsAttached) - { - Debugger.Break(); - } - - throw; - } - } - } -} \ No newline at end of file diff --git a/DropNetRT.Sample.WP8/Assets/AlignmentGrid.png b/DropNetRT.Sample.WP8/Assets/AlignmentGrid.png deleted file mode 100644 index f7d2e97..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/AlignmentGrid.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/Assets/ApplicationIcon.png b/DropNetRT.Sample.WP8/Assets/ApplicationIcon.png deleted file mode 100644 index 7d95d4e..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/ApplicationIcon.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileLarge.png b/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileLarge.png deleted file mode 100644 index e0c59ac..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileLarge.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileMedium.png b/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileMedium.png deleted file mode 100644 index e93b89d..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileMedium.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileSmall.png b/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileSmall.png deleted file mode 100644 index 550b1b5..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/Tiles/FlipCycleTileSmall.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/Assets/Tiles/IconicTileMediumLarge.png b/DropNetRT.Sample.WP8/Assets/Tiles/IconicTileMediumLarge.png deleted file mode 100644 index 686e6b5..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/Tiles/IconicTileMediumLarge.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/Assets/Tiles/IconicTileSmall.png b/DropNetRT.Sample.WP8/Assets/Tiles/IconicTileSmall.png deleted file mode 100644 index d4b5ede..0000000 Binary files a/DropNetRT.Sample.WP8/Assets/Tiles/IconicTileSmall.png and /dev/null differ diff --git a/DropNetRT.Sample.WP8/ContentsPage.xaml b/DropNetRT.Sample.WP8/ContentsPage.xaml deleted file mode 100644 index b6acb8d..0000000 --- a/DropNetRT.Sample.WP8/ContentsPage.xaml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/DropNetRT.Sample.WP8/ContentsPage.xaml.cs b/DropNetRT.Sample.WP8/ContentsPage.xaml.cs deleted file mode 100644 index 6fa9c6b..0000000 --- a/DropNetRT.Sample.WP8/ContentsPage.xaml.cs +++ /dev/null @@ -1,74 +0,0 @@ -using DropNetRT.Models; -using DropNetRT.Sample.WP8.Extensions; -using DropNetRT.Sample.WP8.ViewModels; -using Microsoft.Phone.Controls; -using System.Windows.Navigation; - -namespace DropNetRT.Sample.WP8 -{ - public partial class ContentsPage : PhoneApplicationPage - { - private ContentsViewModel _model; - - public ContentsPage() - { - InitializeComponent(); - } - - protected override void OnNavigatedTo(NavigationEventArgs e) - { - base.OnNavigatedTo(e); - - _model = new ContentsViewModel(this.GetProgressIndicator(), Dispatcher); - this.DataContext = _model; - - _model.LoadPath("/"); - } - - protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) - { - if (_model.MetaData.Path == "/") - { - base.OnBackKeyPress(e); - } - else - { - var lastslash = _model.MetaData.Path.LastIndexOf("/"); - var parentPath = _model.MetaData.Path.Remove(lastslash); - //Check if you can go up a directory - if (string.IsNullOrEmpty(parentPath)) - { - //root - _model.LoadPath("/"); - e.Cancel = true; - } - else - { - _model.LoadPath(parentPath); - e.Cancel = true; - } - } - } - - private void lsbContents_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e) - { - if (e.AddedItems.Count > 0) - { - var selected = (e.AddedItems[0] as Metadata); - - if (selected == null) return; - - if (selected.IsDirectory) - { - //navigate to the new dir - _model.LoadPath(selected.Path); - } - else - { - //Do something here for files - } - } - } - - } -} \ No newline at end of file diff --git a/DropNetRT.Sample.WP8/Converters/BoolToNotVisConverter.cs b/DropNetRT.Sample.WP8/Converters/BoolToNotVisConverter.cs deleted file mode 100644 index 9796862..0000000 --- a/DropNetRT.Sample.WP8/Converters/BoolToNotVisConverter.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Data; - -namespace DropNetRT.Sample.WP8.Converters -{ - public class BoolToNotVisConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - return System.Convert.ToBoolean(value) ? Visibility.Collapsed : Visibility.Visible; - } - - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - return value.Equals(Visibility.Visible); - } - } -} diff --git a/DropNetRT.Sample.WP8/Converters/BoolToVisConverter.cs b/DropNetRT.Sample.WP8/Converters/BoolToVisConverter.cs deleted file mode 100644 index 4c13251..0000000 --- a/DropNetRT.Sample.WP8/Converters/BoolToVisConverter.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Data; - -namespace DropNetRT.Sample.WP8.Converters -{ - public class BoolToVisConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - return System.Convert.ToBoolean(value) ? Visibility.Visible : Visibility.Collapsed; - } - - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - return value.Equals(Visibility.Visible); - } - } -} diff --git a/DropNetRT.Sample.WP8/Converters/DropboxIconConverter.cs b/DropNetRT.Sample.WP8/Converters/DropboxIconConverter.cs deleted file mode 100644 index ccaa818..0000000 --- a/DropNetRT.Sample.WP8/Converters/DropboxIconConverter.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Data; -using System.Windows.Media.Imaging; - -namespace DropNetRT.Sample.WP8.Converters -{ - public class DropboxIconConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - var theme = (Visibility)Application.Current.Resources["PhoneDarkThemeVisibility"] == Visibility.Visible ? "dark" : "light"; - - try - { - //Overrides - switch (value.ToString()) - { - case "page_white_cplusplus": - case "page_white_csharp": - case "page_white_actionscript": - case "page_white_c": - case "page_white_h": - value = "page_white_code"; - break; - case "folder_photos": - value = "folder_public"; - break; - case "page_white_zip": - case "page_white_compressed": - value = "page_white_new"; - break; - case "page_white_flash": - case "page_white_ruby": - case "page_white_php": - value = "page_white_visualstudio"; - break; - } - - var iconpath = string.Format("/icons/{0}/{1}.png", theme, value.ToString()); - - return new BitmapImage(new Uri(iconpath, UriKind.Relative)); - } - catch (Exception ex) - { - //TODO - Default Icon - if (value != null && value.ToString().Contains("folder")) - { - return new BitmapImage(new Uri(string.Format("/icons/{0}/folder.png", theme), UriKind.Relative)); - } - else - { - return new BitmapImage(new Uri(string.Format("/icons/{0}/page_white.png", theme), UriKind.Relative)); - } - } - } - - public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) - { - return string.Empty; - } - } -} diff --git a/DropNetRT.Sample.WP8/DropNetRT.Sample.WP8.csproj b/DropNetRT.Sample.WP8/DropNetRT.Sample.WP8.csproj deleted file mode 100644 index 8760db1..0000000 --- a/DropNetRT.Sample.WP8/DropNetRT.Sample.WP8.csproj +++ /dev/null @@ -1,250 +0,0 @@ - - - - Debug - AnyCPU - 10.0.20506 - 2.0 - {30BC4D5F-FF12-4EE2-8792-A00FF701302E} - {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - DropNetRTSample.WP8 - DropNetRTSample.WP8 - WindowsPhone - v8.0 - $(TargetFrameworkVersion) - true - - - true - true - DropNetRTSample.WP8_Debug_AnyCPU.xap - Properties\AppManifest.xml - DropNetRTSample.App - true - 11.0 - true - 5.0.31017.0 - - - true - full - false - Bin\Debug - DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - pdbonly - true - Bin\Release - TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - true - full - false - Bin\x86\Debug - DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - pdbonly - true - Bin\x86\Release - TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - true - full - false - Bin\ARM\Debug - DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - pdbonly - true - Bin\ARM\Release - TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - - App.xaml - - - ContentsPage.xaml - - - - - - - - - MainPage.xaml - - - - True - True - AppResources.resx - - - - - - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - - - - - - Designer - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PublicResXFileCodeGenerator - AppResources.Designer.cs - - - - - MSBuild:MarkupCompilePass1 - - - - - packages\DropNetRT.1.2\lib\portable-net45+sl50+win+wpa81+wp80\DropNetRT.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.165\lib\wp8\Microsoft.Threading.Tasks.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.165\lib\wp8\Microsoft.Threading.Tasks.Extensions.dll - - - ..\packages\Microsoft.Bcl.Async.1.0.165\lib\wp8\Microsoft.Threading.Tasks.Extensions.Phone.dll - - - ..\packages\Newtonsoft.Json.6.0.1\lib\portable-net45+wp80+win8\Newtonsoft.Json.dll - - - ..\packages\Microsoft.Net.Http.2.2.18\lib\sl4-windowsphone71\System.Net.Http.dll - - - ..\packages\Microsoft.Net.Http.2.2.18\lib\sl4-windowsphone71\System.Net.Http.Extensions.dll - - - ..\packages\Microsoft.Net.Http.2.2.18\lib\sl4-windowsphone71\System.Net.Http.Primitives.dll - - - - - - - - - - - - \ No newline at end of file diff --git a/DropNetRT.Sample.WP8/DropNetRT.Sample.WP8.sln b/DropNetRT.Sample.WP8/DropNetRT.Sample.WP8.sln deleted file mode 100644 index 0ab03cf..0000000 --- a/DropNetRT.Sample.WP8/DropNetRT.Sample.WP8.sln +++ /dev/null @@ -1,40 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.30501.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DropNetRT.Sample.WP8", "DropNetRT.Sample.WP8.csproj", "{30BC4D5F-FF12-4EE2-8792-A00FF701302E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|ARM = Debug|ARM - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|ARM = Release|ARM - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|Any CPU.Deploy.0 = Debug|Any CPU - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|ARM.ActiveCfg = Debug|ARM - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|ARM.Build.0 = Debug|ARM - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|ARM.Deploy.0 = Debug|ARM - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|x86.ActiveCfg = Debug|x86 - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|x86.Build.0 = Debug|x86 - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Debug|x86.Deploy.0 = Debug|x86 - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|Any CPU.Build.0 = Release|Any CPU - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|Any CPU.Deploy.0 = Release|Any CPU - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|ARM.ActiveCfg = Release|ARM - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|ARM.Build.0 = Release|ARM - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|ARM.Deploy.0 = Release|ARM - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|x86.ActiveCfg = Release|x86 - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|x86.Build.0 = Release|x86 - {30BC4D5F-FF12-4EE2-8792-A00FF701302E}.Release|x86.Deploy.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/DropNetRT.Sample.WP8/Extensions/CollectionExtensions.cs b/DropNetRT.Sample.WP8/Extensions/CollectionExtensions.cs deleted file mode 100644 index 1bf2b68..0000000 --- a/DropNetRT.Sample.WP8/Extensions/CollectionExtensions.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DropNetRT.Sample.WP8.Extensions -{ - public static class CollectionExtensions - { - public static ObservableCollection ToObservableCollection(this IEnumerable source) - { - ObservableCollection result = new ObservableCollection(); - - foreach (T item in source) - result.Add(item); - - return result; - } - } -} diff --git a/DropNetRT.Sample.WP8/Extensions/PageExtensions.cs b/DropNetRT.Sample.WP8/Extensions/PageExtensions.cs deleted file mode 100644 index 68ddad0..0000000 --- a/DropNetRT.Sample.WP8/Extensions/PageExtensions.cs +++ /dev/null @@ -1,24 +0,0 @@ -using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DropNetRT.Sample.WP8.Extensions -{ - public static class PageExtensions - { - public static ProgressIndicator GetProgressIndicator(this PhoneApplicationPage page) - { - var progressIndicator = SystemTray.ProgressIndicator; - if (progressIndicator == null) - { - progressIndicator = new ProgressIndicator(); - SystemTray.SetProgressIndicator(page, progressIndicator); - } - return progressIndicator; - } - } -} diff --git a/DropNetRT.Sample.WP8/LocalizedStrings.cs b/DropNetRT.Sample.WP8/LocalizedStrings.cs deleted file mode 100644 index 70a79e5..0000000 --- a/DropNetRT.Sample.WP8/LocalizedStrings.cs +++ /dev/null @@ -1,14 +0,0 @@ -using DropNetRT.Sample.WP8.Resources; - -namespace DropNetRT.Sample.WP8 -{ - /// - /// Provides access to string resources. - /// - public class LocalizedStrings - { - private static AppResources _localizedResources = new AppResources(); - - public AppResources LocalizedResources { get { return _localizedResources; } } - } -} \ No newline at end of file diff --git a/DropNetRT.Sample.WP8/MainPage.xaml b/DropNetRT.Sample.WP8/MainPage.xaml deleted file mode 100644 index 28e4271..0000000 --- a/DropNetRT.Sample.WP8/MainPage.xaml +++ /dev/null @@ -1,79 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -