mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-06-22 13:57:28 +02:00
Version 3.0.338
This commit is contained in:
parent
573fe77e12
commit
0468955d49
751 changed files with 62747 additions and 60672 deletions
|
@ -12,104 +12,104 @@ using TINK.ViewModel.Info;
|
|||
|
||||
namespace TINK.ViewModel.MasterDetail
|
||||
{
|
||||
public static class Helper
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a description for a map page used as menu item entry and caption.
|
||||
/// </summary>
|
||||
/// <param name="type">Type of page to get caption for.</param>
|
||||
/// <returns></returns>
|
||||
public static string GetCaption(Type type)
|
||||
{
|
||||
if (type == typeof(MapPage)) // Bikes sites
|
||||
{
|
||||
return AppResources.MarkingMapPage;
|
||||
}
|
||||
else if (type == typeof(FindBikePage)) // Find Bike
|
||||
{
|
||||
return AppResources.MarkingFindBike;
|
||||
}
|
||||
else if (type == typeof(MyBikesPage)) // My Bikes
|
||||
{
|
||||
return AppResources.MarkingMyBikes;
|
||||
}
|
||||
else if (type == typeof(AccountPage)) // Account
|
||||
{
|
||||
return AppResources.MarkingAccount;
|
||||
}
|
||||
else if (type == typeof(LoginPage)) // Login
|
||||
{
|
||||
return AppResources.MarkingLogin;
|
||||
}
|
||||
else if (type == typeof(SettingsPage)) // Settings
|
||||
{
|
||||
return AppResources.MarkingSettings;
|
||||
}
|
||||
else if (type == typeof(FeesAndBikesPage))
|
||||
{
|
||||
return AppResources.MarkingFeesAndBikes;
|
||||
}
|
||||
else if (type == typeof(ContactPage))
|
||||
{
|
||||
return AppResources.MarkingFeedbackAndContact;
|
||||
}
|
||||
else if (type == typeof(InfoPage))
|
||||
{
|
||||
return AppResources.MarkingAbout;
|
||||
}
|
||||
else
|
||||
{
|
||||
return type.Name;
|
||||
}
|
||||
}
|
||||
public static class Helper
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a description for a map page used as menu item entry and caption.
|
||||
/// </summary>
|
||||
/// <param name="type">Type of page to get caption for.</param>
|
||||
/// <returns></returns>
|
||||
public static string GetCaption(Type type)
|
||||
{
|
||||
if (type == typeof(MapPage)) // Bikes sites
|
||||
{
|
||||
return AppResources.MarkingMapPage;
|
||||
}
|
||||
else if (type == typeof(FindBikePage)) // Find Bike
|
||||
{
|
||||
return AppResources.MarkingFindBike;
|
||||
}
|
||||
else if (type == typeof(MyBikesPage)) // My Bikes
|
||||
{
|
||||
return AppResources.MarkingMyBikes;
|
||||
}
|
||||
else if (type == typeof(AccountPage)) // Account
|
||||
{
|
||||
return AppResources.MarkingAccount;
|
||||
}
|
||||
else if (type == typeof(LoginPage)) // Login
|
||||
{
|
||||
return AppResources.MarkingLogin;
|
||||
}
|
||||
else if (type == typeof(SettingsPage)) // Settings
|
||||
{
|
||||
return AppResources.MarkingSettings;
|
||||
}
|
||||
else if (type == typeof(FeesAndBikesPage))
|
||||
{
|
||||
return AppResources.MarkingFeesAndBikes;
|
||||
}
|
||||
else if (type == typeof(ContactPage))
|
||||
{
|
||||
return AppResources.MarkingFeedbackAndContact;
|
||||
}
|
||||
else if (type == typeof(InfoPage))
|
||||
{
|
||||
return AppResources.MarkingAbout;
|
||||
}
|
||||
else
|
||||
{
|
||||
return type.Name;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a description for a map page used as menu item entry and caption.
|
||||
/// </summary>
|
||||
/// <param name="type">Type of page to get caption for.</param>
|
||||
/// <returns></returns>
|
||||
public static string GetGlyphCode(Type type)
|
||||
{
|
||||
if (type == typeof(MapPage)) // Bikes sites
|
||||
{
|
||||
return "\uf5a0";
|
||||
}
|
||||
else if (type == typeof(FindBikePage)) // My Bikes
|
||||
{
|
||||
return "\uf002";
|
||||
}
|
||||
else if (type == typeof(MyBikesPage)) // My Bikes
|
||||
{
|
||||
return "\uf206";
|
||||
}
|
||||
else if (type == typeof(AccountPage)) // Account
|
||||
{
|
||||
return "\uf007";
|
||||
}
|
||||
else if (type == typeof(LoginPage)) // Login
|
||||
{
|
||||
return "\uf2f6";
|
||||
}
|
||||
else if (type == typeof(SettingsPage)) // Settings
|
||||
{
|
||||
return "\uf013";
|
||||
}
|
||||
else if (type == typeof(FeesAndBikesPage))
|
||||
{
|
||||
return "\uf7d9";
|
||||
}
|
||||
else if (type == typeof(ContactPage))
|
||||
{
|
||||
return "\uf095";
|
||||
}
|
||||
else if (type == typeof(InfoPage))
|
||||
{
|
||||
return "\uf05a";
|
||||
}
|
||||
else
|
||||
{
|
||||
return type.Name;
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets a description for a map page used as menu item entry and caption.
|
||||
/// </summary>
|
||||
/// <param name="type">Type of page to get caption for.</param>
|
||||
/// <returns></returns>
|
||||
public static string GetGlyphCode(Type type)
|
||||
{
|
||||
if (type == typeof(MapPage)) // Bikes sites
|
||||
{
|
||||
return "\uf5a0";
|
||||
}
|
||||
else if (type == typeof(FindBikePage)) // My Bikes
|
||||
{
|
||||
return "\uf002";
|
||||
}
|
||||
else if (type == typeof(MyBikesPage)) // My Bikes
|
||||
{
|
||||
return "\uf206";
|
||||
}
|
||||
else if (type == typeof(AccountPage)) // Account
|
||||
{
|
||||
return "\uf007";
|
||||
}
|
||||
else if (type == typeof(LoginPage)) // Login
|
||||
{
|
||||
return "\uf2f6";
|
||||
}
|
||||
else if (type == typeof(SettingsPage)) // Settings
|
||||
{
|
||||
return "\uf013";
|
||||
}
|
||||
else if (type == typeof(FeesAndBikesPage))
|
||||
{
|
||||
return "\uf7d9";
|
||||
}
|
||||
else if (type == typeof(ContactPage))
|
||||
{
|
||||
return "\uf095";
|
||||
}
|
||||
else if (type == typeof(InfoPage))
|
||||
{
|
||||
return "\uf05a";
|
||||
}
|
||||
else
|
||||
{
|
||||
return type.Name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue