浏览代码

project renaming

master
Flo Smilari 4 年前
父节点
当前提交
dfddf8c341

+ 2
- 2
Pages/AccountPage.razor 查看文件

@page "/account" @page "/account"
@page "/fundvelo/account/{FromRoute}" @page "/fundvelo/account/{FromRoute}"
@using CaritasPWA.Shared.Models;
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Models;
@using cwebplusApp.Shared.Services;
@inject NavigationManager NavigationManager @inject NavigationManager NavigationManager
@inject UserDataProvider UserDataProvider @inject UserDataProvider UserDataProvider
@inject IStringLocalizer<Resources> i18n @inject IStringLocalizer<Resources> i18n

+ 1
- 1
Pages/CaritasServiceFundVeloFoundConclusion.razor 查看文件

@page "/fundvelo/conclusion_found" @page "/fundvelo/conclusion_found"
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@inject NavigationManager NavigationManager @inject NavigationManager NavigationManager
@inject IStringLocalizer<Resources> i18n @inject IStringLocalizer<Resources> i18n
@inject PageHistoryManager PageHistoryManager @inject PageHistoryManager PageHistoryManager

+ 2
- 2
Pages/CaritasServiceFundVeloKeyDataPage.razor 查看文件

@inherits CaritasServiceFundVeloKeyDataPageBase @inherits CaritasServiceFundVeloKeyDataPageBase
@using CaritasPWA.Shared.Models;
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Models;
@using cwebplusApp.Shared.Services;
@using System.Globalization; @using System.Globalization;
@using Microsoft.AspNetCore.Components.Forms; @using Microsoft.AspNetCore.Components.Forms;
@using System.IO; @using System.IO;

+ 4
- 4
Pages/CaritasServiceFundVeloKeyDataPage.razor.cs 查看文件

using BlazorGeolocation; using BlazorGeolocation;
using CaritasPWA.Shared.Models;
using CaritasPWA.Shared.ResourceFiles;
using CaritasPWA.Shared.Services;
using cwebplusApp.Shared.Models;
using cwebplusApp.Shared.ResourceFiles;
using cwebplusApp.Shared.Services;
using FisSst.BlazorMaps; using FisSst.BlazorMaps;
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace CaritasPWA.Pages {
namespace cwebplusApp.Pages {
public partial class CaritasServiceFundVeloKeyDataPageBase : ComponentBase { public partial class CaritasServiceFundVeloKeyDataPageBase : ComponentBase {
protected readonly LatLng center; protected readonly LatLng center;

+ 1
- 1
Pages/CaritasServiceFundVeloLostFoundPage.razor 查看文件

@page "/fundvelo/lost_found" @page "/fundvelo/lost_found"
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@inject NavigationManager NavigationManager @inject NavigationManager NavigationManager
@inject PageHistoryManager PageHistoryManager @inject PageHistoryManager PageHistoryManager

+ 1
- 1
Pages/CaritasServiceFundVeloMissingConclusion.razor 查看文件

@page "/fundvelo/conclusion_missing" @page "/fundvelo/conclusion_missing"
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@inject NavigationManager NavigationManager @inject NavigationManager NavigationManager
@inject IStringLocalizer<Resources> i18n @inject IStringLocalizer<Resources> i18n
@inject PageHistoryManager PageHistoryManager @inject PageHistoryManager PageHistoryManager

+ 1
- 1
Pages/CaritasServicesPage.razor 查看文件

@page "/caritas_services" @page "/caritas_services"
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@inject NavigationManager NavigationManager @inject NavigationManager NavigationManager
@inject PageHistoryManager PageHistoryManager @inject PageHistoryManager PageHistoryManager

+ 2
- 2
Pages/IndexPage.razor 查看文件

@page "/" @page "/"
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@using System.Threading; @using System.Threading;
@inject NavigationManager NavigationManager; @inject NavigationManager NavigationManager;
@inject AppState AppState; @inject AppState AppState;
StateHasChanged(); StateHasChanged();
try { try {
await MasterDataService.SynchronizeMasterdata(); await MasterDataService.SynchronizeMasterdata();
} catch (Exception ex) {
} catch (Exception) {
Toaster.ShowWarning(i18n.GetString("Warning.Masterdata.Title"), i18n.GetString("Warning.Masterdata.Msg")); Toaster.ShowWarning(i18n.GetString("Warning.Masterdata.Title"), i18n.GetString("Warning.Masterdata.Msg"));
} finally { } finally {
showProgressCircle = false; showProgressCircle = false;

+ 1
- 1
Pages/InfoPage.razor 查看文件

@page "/info" @page "/info"
@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@inject NavigationManager NavigationManager; @inject NavigationManager NavigationManager;
@inject IStringLocalizer<Resources> i18n @inject IStringLocalizer<Resources> i18n
@inject PageHistoryManager PageHistoryManager @inject PageHistoryManager PageHistoryManager

+ 3
- 2
Program.cs 查看文件

using BlazorGeolocation; using BlazorGeolocation;
using CaritasPWA.Shared;
using CaritasPWA.Shared.Services;
using cwebplusApp;
using cwebplusApp.Shared;
using cwebplusApp.Shared.Services;
using FisSst.BlazorMaps.DependencyInjection; using FisSst.BlazorMaps.DependencyInjection;
using MatBlazor; using MatBlazor;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.AspNetCore.Components.WebAssembly.Hosting;

+ 1
- 1
Shared/AppState.cs 查看文件

using System; using System;
namespace CaritasPWA.Shared {
namespace cwebplusApp.Shared {
public class AppState { public class AppState {
private bool _loggedIn; private bool _loggedIn;

+ 1
- 1
Shared/Models/BicycleType.cs 查看文件

namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
public class BicycleType { public class BicycleType {
public int Id { get; set; } public int Id { get; set; }

+ 1
- 1
Shared/Models/Brand.cs 查看文件

namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
public class Brand { public class Brand {
public int Id { get; set; } public int Id { get; set; }

+ 1
- 1
Shared/Models/ColorItem.cs 查看文件

namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
public class ColorItem { public class ColorItem {

+ 3
- 3
Shared/Models/Defaults.cs 查看文件

using CaritasPWA.Shared.ResourceFiles;
using cwebplusApp.Shared.ResourceFiles;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using System.Collections.Generic; using System.Collections.Generic;
namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
public class Defaults { public class Defaults {
private static readonly ColorItem[] ColorItems = { private static readonly ColorItem[] ColorItems = {
public static List<Brand> GetBrandDefaults(IStringLocalizer<Resources> _i18n) { public static List<Brand> GetBrandDefaults(IStringLocalizer<Resources> _i18n) {
List<Brand> brands = new(); List<Brand> brands = new();
foreach (Brand brand in Brands) { foreach (Brand brand in Brands) {
brands.Add(new Brand(brand.Id, brand.Id == 0 ? _i18n.GetString("Brand." + brand.Bezeichnung): brand.Bezeichnung));
brands.Add(new Brand(brand.Id, brand.Id == 0 ? _i18n.GetString("Brand." + brand.Bezeichnung) : brand.Bezeichnung));
} }
return brands; return brands;
} }

+ 1
- 1
Shared/Models/OSM/BicycleGeoPosition.cs 查看文件

namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
public class BicycleGeoPosition { public class BicycleGeoPosition {
public BicycleGeoPosition() { public BicycleGeoPosition() {

+ 1
- 1
Shared/Models/OSM/NominatimReverseAddress.cs 查看文件

namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
public class NominatimReverseAddress { public class NominatimReverseAddress {
public string place_id; public string place_id;

+ 1
- 1
Shared/Models/UserData.cs 查看文件

namespace CaritasPWA.Shared.Models {
namespace cwebplusApp.Shared.Models {
// The class that stores the user settings // The class that stores the user settings
public class UserData { public class UserData {
private string salutation; private string salutation;

+ 1
- 1
Shared/NavMenu.razor 查看文件

@using CaritasPWA.Shared.Services;
@using cwebplusApp.Shared.Services;
@inject AppState AppState; @inject AppState AppState;
@inject NavigationManager NavigationManager; @inject NavigationManager NavigationManager;
@inject IStringLocalizer<Resources> i18n @inject IStringLocalizer<Resources> i18n

+ 2
- 2
Shared/ResourceFiles/Resources.Designer.cs 查看文件

// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace CaritasPWA.Shared.ResourceFiles {
namespace cwebplusApp.Shared.ResourceFiles {
using System; using System;
public static global::System.Resources.ResourceManager ResourceManager { public static global::System.Resources.ResourceManager ResourceManager {
get { get {
if (object.ReferenceEquals(resourceMan, null)) { if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("CaritasPWA.Shared.ResourceFiles.Resources", typeof(Resources).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("cwebplusApp.Shared.ResourceFiles.Resources", typeof(Resources).Assembly);
resourceMan = temp; resourceMan = temp;
} }
return resourceMan; return resourceMan;

+ 2
- 2
Shared/Services/ILFBicycleRest.cs 查看文件

using CaritasPWA.Shared.Models;
using cwebplusApp.Shared.Models;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
public interface ILFBicycleRest { public interface ILFBicycleRest {
Task<List<ColorItem>> GetColors(); Task<List<ColorItem>> GetColors();

+ 2
- 2
Shared/Services/LFBicycleRest.cs 查看文件

using CaritasPWA.Shared.Models;
using cwebplusApp.Shared.Models;
using Json.Net; using Json.Net;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
// REST interface responsible to submit lost or found reports and get the available master data. // REST interface responsible to submit lost or found reports and get the available master data.
public class LFBicycleRest : ILFBicycleRest { public class LFBicycleRest : ILFBicycleRest {

+ 3
- 4
Shared/Services/MasterDataService.cs 查看文件

using CaritasPWA.Shared.Models;
using CaritasPWA.Shared.ResourceFiles;
using cwebplusApp.Shared.Models;
using cwebplusApp.Shared.ResourceFiles;
using Json.Net; using Json.Net;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using Microsoft.JSInterop; using Microsoft.JSInterop;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
public class MasterDataService { public class MasterDataService {
private readonly ILFBicycleRest _lFBicycleRest; private readonly ILFBicycleRest _lFBicycleRest;

+ 3
- 3
Shared/Services/OSM/NominatimService.cs 查看文件

using CaritasPWA.Shared.Models;
using cwebplusApp.Shared.Models;
using Json.Net; using Json.Net;
using System; using System;
using System.Globalization; using System.Globalization;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
public class NominatimService { public class NominatimService {
public static async Task<NominatimReverseAddress> GetAddressForCoordinates(double latitude, double longitude) { public static async Task<NominatimReverseAddress> GetAddressForCoordinates(double latitude, double longitude) {
} }
return null; return null;
} catch (Exception ex) {
} catch (Exception) {
return null; return null;
} }
} }

+ 1
- 1
Shared/Services/PageHistoryManager.cs 查看文件

using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
public class PageHistoryManager { public class PageHistoryManager {
private readonly List<string> previousPages; private readonly List<string> previousPages;

+ 1
- 5
Shared/Services/Toaster.cs 查看文件

using MatBlazor; using MatBlazor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
public class Toaster { public class Toaster {
private readonly IMatToaster matToaster; private readonly IMatToaster matToaster;

+ 2
- 2
Shared/Services/UserDataProvider.cs 查看文件

using CaritasPWA.Shared.Models;
using cwebplusApp.Shared.Models;
using Microsoft.JSInterop; using Microsoft.JSInterop;
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace CaritasPWA.Shared.Services {
namespace cwebplusApp.Shared.Services {
public sealed class UserDataProvider { public sealed class UserDataProvider {
private const string KeyName = "account"; private const string KeyName = "account";

+ 2
- 2
_Imports.razor 查看文件

@using FisSst.BlazorMaps @using FisSst.BlazorMaps
@using BlazorGeolocation @using BlazorGeolocation
@using CaritasPWA @using CaritasPWA
@using CaritasPWA.Shared
@using CaritasPWA.Shared.ResourceFiles
@using cwebplusApp.Shared
@using cwebplusApp.Shared.ResourceFiles

CaritasPWA.csproj → cwebplusApp.csproj 查看文件

<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PropertyGroup Label="Globals">
<SccProjectName>SAK</SccProjectName>
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
</PropertyGroup>
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest> <ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>

CaritasPWA.csproj.user → cwebplusApp.csproj.user 查看文件


+ 10
- 0
cwebplusApp.csproj.vspscc 查看文件

""
{
"FILE_VERSION" = "9237"
"ENLISTMENT_CHOICE" = "NEVER"
"PROJECT_FILE_RELATIVE_PATH" = ""
"NUMBER_OF_EXCLUDED_FILES" = "0"
"ORIGINAL_PROJECT_FILE_PATH" = ""
"NUMBER_OF_NESTED_PROJECTS" = "0"
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
}

CaritasPWA.sln → cwebplusApp.sln 查看文件

# Visual Studio Version 16 # Visual Studio Version 16
VisualStudioVersion = 16.0.31321.278 VisualStudioVersion = 16.0.31321.278
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CaritasPWA", "CaritasPWA.csproj", "{D258170F-7153-4503-AAB9-6B5699A58B53}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "cwebplusApp", "cwebplusApp.csproj", "{D258170F-7153-4503-AAB9-6B5699A58B53}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {727FFEFC-2F79-4A3E-B3E6-495767058A34} SolutionGuid = {727FFEFC-2F79-4A3E-B3E6-495767058A34}
EndGlobalSection EndGlobalSection
GlobalSection(TeamFoundationVersionControl) = preSolution
SccNumberOfProjects = 2
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
SccTeamFoundationServer = https://integrateinformatik.visualstudio.com/
SccLocalPath0 = .
SccProjectUniqueName1 = cwebplusApp.csproj
SccLocalPath1 = .
EndGlobalSection
EndGlobal EndGlobal

+ 10
- 0
cwebplusApp.vssscc 查看文件

""
{
"FILE_VERSION" = "9237"
"ENLISTMENT_CHOICE" = "NEVER"
"PROJECT_FILE_RELATIVE_PATH" = ""
"NUMBER_OF_EXCLUDED_FILES" = "0"
"ORIGINAL_PROJECT_FILE_PATH" = ""
"NUMBER_OF_NESTED_PROJECTS" = "0"
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
}

正在加载...
取消
保存