This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Services": [ | |
{ | |
"ServiceName": "ProductionCompanyServiceName", | |
"ServiceUrl": "https://xxxxxxxxxxxxxxxProductionapi.azurewebsites.net/api/" | |
} | |
], | |
"ServiceName": "ProductionCompanyServiceName", | |
"ServiceUrl": "https://xxxxxxxxxxxxxxxProductionapi.azurewebsites.net/api/", | |
"AuthServiceUrl": "https://xxxxxxxxxxxxxxxProductionapi.azurewebsites.net/api/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Services": [ | |
{ | |
"ServiceName": "CompanyServiceName", | |
"ServiceUrl": "https://xxxxxxxxxxxxxxxdevelopmentapi.azurewebsites.net/api/" | |
} | |
], | |
"ServiceName": "CompanyServiceName", | |
"ServiceUrl": "https://xxxxxxxxxxxxxxxdevelopmentapi.azurewebsites.net/api/", | |
"AuthServiceUrl": "https://xxxxxxxxxxxxxxxdevelopmentapi.azurewebsites.net/api/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ConfigurationManager | |
{ | |
public static void Initialize(Type type) | |
{ | |
var fileName = $"AppSettings_Development_{ThemeManager.CurrentTheme.ToString()}.json"; | |
#if RELEASE | |
fileName = $"AppSettings_Production{ThemeManager.CurrentTheme.ToString()}.json"; | |
#endif | |
AppSetting = type.GetResource<AppSetting>(fileName); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AppSetting | |
{ | |
public List<Service> Services { get; set; } | |
public string ServiceUrl { get; set; } | |
public string AuthServiceUrl { get; set; } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Application xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" | |
x:Class="App2.App"> | |
<Application.Resources> | |
<OnPlatform x:Key="MaterialFont" | |
x:TypeArguments="x:String"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key>UIAppFonts</key> | |
<array> | |
<string>materialdesignicons-webfont.ttf</string> | |
</array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace App2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Shell xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:d="http://xamarin.com/schemas/2014/forms/design" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
mc:Ignorable="d" | |
xmlns:local="clr-namespace:App2" | |
xmlns:settings="clr-namespace:App2" | |
FlyoutBackgroundImage="images.jpg" | |
FlyoutBackgroundImageAspect="AspectFill" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace App2 | |
{ | |
public partial class App : Application | |
{ | |
public App() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace BankPayment | |
{ | |
public class CardCreateOptions | |
{ | |
public string Cardholder { get; set; } | |
public string Currency { get; set; } | |
public string Type { get; set; } | |
//brand |
NewerOlder