├── XamarinMultiTenant.iOS
├── Assets.xcassets
│ ├── Contents.json
│ └── AppIcon.appiconset
│ │ ├── Icon-App-20x20@1x.png
│ │ ├── Icon-App-20x20@2x.png
│ │ ├── Icon-App-20x20@3x.png
│ │ ├── Icon-App-29x29@1x.png
│ │ ├── Icon-App-29x29@2x.png
│ │ ├── Icon-App-29x29@3x.png
│ │ ├── Icon-App-40x40@1x.png
│ │ ├── Icon-App-40x40@2x.png
│ │ ├── Icon-App-40x40@3x.png
│ │ ├── Icon-App-57x57@1x.png
│ │ ├── Icon-App-57x57@2x.png
│ │ ├── Icon-App-60x60@1x.png
│ │ ├── Icon-App-60x60@2x.png
│ │ ├── Icon-App-60x60@3x.png
│ │ ├── Icon-App-72x72@1x.png
│ │ ├── Icon-App-72x72@2x.png
│ │ ├── Icon-App-76x76@1x.png
│ │ ├── Icon-App-76x76@2x.png
│ │ ├── Icon-App-76x76@3x.png
│ │ ├── ItunesArtwork@2x.png
│ │ ├── Icon-Small-50x50@1x.png
│ │ ├── Icon-Small-50x50@2x.png
│ │ ├── Icon-App-83.5x83.5@2x.png
│ │ └── Contents.json
├── Resources
│ ├── Default.png
│ ├── Default@2x.png
│ ├── Default-568h@2x.png
│ ├── Default-Portrait.png
│ ├── Default-Portrait@2x.png
│ └── LaunchScreen.storyboard
├── iTunesArtwork@1x.png
├── iTunesArtwork@2x.png
├── iTunesArtwork@3x.png
├── Entitlements.plist
├── Main.cs
├── AppDelegate.cs
├── Properties
│ └── AssemblyInfo.cs
├── Info.plist
└── XamarinMultiTenant.iOS.csproj
├── XamarinMultiTenant.UWP
├── Assets
│ ├── StoreLogo.png
│ ├── SplashScreen.scale-200.png
│ ├── LockScreenLogo.scale-200.png
│ ├── Square44x44Logo.scale-200.png
│ ├── Wide310x150Logo.scale-200.png
│ ├── Square150x150Logo.scale-200.png
│ └── Square44x44Logo.targetsize-24_altform-unplated.png
├── App.xaml
├── MainPage.xaml
├── MainPage.xaml.cs
├── Properties
│ ├── AssemblyInfo.cs
│ └── Default.rd.xml
├── Package.appxmanifest
├── App.xaml.cs
└── XamarinMultiTenant.UWP.csproj
├── XamarinMultiTenant.Android
├── Resources
│ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ ├── mipmap-ldpi
│ │ └── ic_launcher.png
│ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ ├── values
│ │ ├── Strings.xml
│ │ └── styles.xml
│ ├── layout
│ │ ├── Main.axml
│ │ ├── Toolbar.axml
│ │ └── Tabbar.axml
│ └── AboutResources.txt
├── Properties
│ ├── AndroidManifest.xml
│ └── AssemblyInfo.cs
├── MainActivity.cs
├── Assets
│ └── AboutAssets.txt
└── XamarinMultiTenant.Android.csproj
├── XamarinMultiTenant.Android.Core
├── Resources
│ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ ├── mipmap-ldpi
│ │ └── ic_launcher.png
│ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ ├── mipmap-xxxhdpi
│ │ └── ic_launcher.png
│ ├── values
│ │ ├── strings.xml
│ │ └── styles.xml
│ ├── layout
│ │ ├── Main.axml
│ │ ├── Toolbar.axml
│ │ └── Tabbar.axml
│ └── AboutResources.txt
├── Properties
│ └── AssemblyInfo.cs
├── MainActivityBase.cs
└── XamarinMultiTenant.Android.Core.csproj
├── XamarinMultiTenant.Android.TenantB
├── Resources
│ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── values
│ │ ├── ic_launcher_background.xml
│ │ ├── strings.xml
│ │ ├── colors.xml
│ │ └── styles.xml
│ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ ├── layout
│ │ ├── Toolbar.axml
│ │ └── Tabbar.axml
│ └── AboutResources.txt
├── MainActivity.cs
├── Properties
│ ├── AndroidManifest.xml
│ └── AssemblyInfo.cs
├── Assets
│ └── AboutAssets.txt
└── XamarinMultiTenant.Android.TenantB.csproj
├── XamarinMultiTenant.Android.TenantC
├── Resources
│ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── values
│ │ ├── ic_launcher_background.xml
│ │ ├── strings.xml
│ │ ├── colors.xml
│ │ └── styles.xml
│ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ ├── ic_launcher_round.png
│ │ └── ic_launcher_foreground.png
│ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ ├── layout
│ │ ├── activity_main.xml
│ │ ├── Toolbar.axml
│ │ └── Tabbar.axml
│ └── AboutResources.txt
├── MainActivity.cs
├── Properties
│ ├── AndroidManifest.xml
│ └── AssemblyInfo.cs
├── Assets
│ └── AboutAssets.txt
└── XamarinMultiTenant.Android.TenantC.csproj
├── XamarinMultiTenant.iOS.TenantB
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Icon120.png
│ │ ├── Icon152.png
│ │ ├── Icon167.png
│ │ ├── Icon180.png
│ │ ├── Icon20.png
│ │ ├── Icon29.png
│ │ ├── Icon40.png
│ │ ├── Icon58.png
│ │ ├── Icon60.png
│ │ ├── Icon76.png
│ │ ├── Icon80.png
│ │ ├── Icon87.png
│ │ ├── Icon1024.png
│ │ └── Contents.json
├── Entitlements.plist
├── Main.cs
├── AppDelegate.cs
├── Properties
│ └── AssemblyInfo.cs
├── LaunchScreen.storyboard
├── Info.plist
├── Resources
│ └── LaunchScreen.xib
└── XamarinMultiTenant.iOS.TenantB.csproj
├── XamarinMultiTenant.iOS.TenantC
├── Assets.xcassets
│ └── AppIcon.appiconset
│ │ ├── Icon120.png
│ │ ├── Icon152.png
│ │ ├── Icon167.png
│ │ ├── Icon180.png
│ │ ├── Icon20.png
│ │ ├── Icon29.png
│ │ ├── Icon40.png
│ │ ├── Icon58.png
│ │ ├── Icon60.png
│ │ ├── Icon76.png
│ │ ├── Icon80.png
│ │ ├── Icon87.png
│ │ ├── Icon1024.png
│ │ └── Contents.json
├── Entitlements.plist
├── Main.cs
├── AppDelegate.cs
├── Properties
│ └── AssemblyInfo.cs
├── LaunchScreen.storyboard
├── Info.plist
├── Resources
│ └── LaunchScreen.xib
└── XamarinMultiTenant.iOS.TenantC.csproj
├── XamarinMultiTenant
├── Common
│ ├── Constants.cs
│ ├── ITenant.cs
│ ├── Colors.cs
│ ├── Tenant.cs
│ └── Tenants.cs
├── Views
│ ├── MainPage.xaml.cs
│ └── MainPage.xaml
├── XamarinMultiTenant.csproj
├── App.xaml
├── ViewModels
│ ├── MainPageViewModel.cs
│ └── ViewModelBase.cs
└── App.xaml.cs
├── ReadMe.md
├── .github
└── workflows
│ └── main.yml
├── LICENSE
├── XamarinMultiTenant.iOS.Core
├── AppDelegateBase.cs
├── Properties
│ └── AssemblyInfo.cs
└── XamarinMultiTenant.iOS.Core.csproj
├── .editorconfig
└── .gitignore
/XamarinMultiTenant.iOS/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/StoreLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/StoreLogo.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Resources/Default.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/iTunesArtwork@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/iTunesArtwork@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/iTunesArtwork@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/iTunesArtwork@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/iTunesArtwork@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/iTunesArtwork@3x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/SplashScreen.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/SplashScreen.scale-200.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/LockScreenLogo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/LockScreenLogo.scale-200.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/Square44x44Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/Square44x44Logo.scale-200.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/Wide310x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/Wide310x150Logo.scale-200.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/Square150x150Logo.scale-200.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/Square150x150Logo.scale-200.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android/Resources/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/mipmap-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android/Resources/mipmap-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android/Resources/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android/Resources/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android/Resources/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android/Resources/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.Core/Resources/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/mipmap-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.Core/Resources/mipmap-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.Core/Resources/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.Core/Resources/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.Core/Resources/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.Core/Resources/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #2C3E50
4 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #2C3E50
4 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon120.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon152.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon167.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon180.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon20.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon29.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon40.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon58.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon60.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon76.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon80.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon87.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon120.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon152.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon167.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon180.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon20.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon29.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon40.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon58.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon60.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon76.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon80.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon87.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.UWP/Assets/Square44x44Logo.targetsize-24_altform-unplated.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Icon1024.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Icon1024.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | XamarinMultiTenant.Android.TenantB
3 | Settings
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | XamarinMultiTenant.Android.TenantC
3 | Settings
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantB/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/magoolation/xamarin-multi-tenant/HEAD/XamarinMultiTenant.Android.TenantC/Resources/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | XamarinMultiTenant.Droid
5 |
6 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | XamarinMultiTenant.Droid
5 |
6 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/Common/Constants.cs:
--------------------------------------------------------------------------------
1 | namespace XamarinMultiTenant.Common
2 | {
3 | public class Constants
4 | {
5 | public const string PRIMARY_COLOR = "PrimaryColor";
6 | public const string SECONDARY_COLOR = "SecondaryColor";
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #2c3e50
4 | #1B3147
5 | #3498db
6 |
7 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #2c3e50
4 | #1B3147
5 | #3498db
6 |
7 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/Views/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms;
2 |
3 | namespace XamarinMultiTenant.Views
4 | {
5 | public partial class MainPage : ContentPage
6 | {
7 | public MainPage()
8 | {
9 | InitializeComponent();
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace XamarinMultiTenant.iOS
4 | {
5 | public class Application
6 | {
7 | private static void Main(string[] args)
8 | {
9 | UIApplication.Main(args, null, "AppDelegate");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace XamarinMultiTenant.iOS.TenantB
4 | {
5 | public class Application
6 | {
7 | private static void Main(string[] args)
8 | {
9 | UIApplication.Main(args, null, "AppDelegate");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Main.cs:
--------------------------------------------------------------------------------
1 | using UIKit;
2 |
3 | namespace XamarinMultiTenant.iOS.TenantC
4 | {
5 | public class Application
6 | {
7 | private static void Main(string[] args)
8 | {
9 | UIApplication.Main(args, null, "AppDelegate");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/App.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/Common/ITenant.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace XamarinMultiTenant.Common
4 | {
5 | public interface ITenant
6 | {
7 | string Name { get; }
8 | string Url { get; }
9 |
10 | Color PrimaryColor { get; }
11 | Color SecondaryColor { get; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using XamarinMultiTenant.Common;
3 | using XamarinMultiTenant.iOS.Core;
4 |
5 | namespace XamarinMultiTenant.iOS
6 | {
7 | [Register("AppDelegate")]
8 | public partial class AppDelegate : AppDelegateBase
9 | {
10 | protected override ITenant Tenant => Tenants.TenantA.GetTenant();
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using XamarinMultiTenant.Common;
3 | using XamarinMultiTenant.iOS.Core;
4 |
5 | namespace XamarinMultiTenant.iOS.TenantB
6 | {
7 | [Register("AppDelegate")]
8 | public class AppDelegate : AppDelegateBase
9 | {
10 | protected override ITenant Tenant => Tenants.TenantB.GetTenant();
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using XamarinMultiTenant.Common;
3 | using XamarinMultiTenant.iOS.Core;
4 |
5 | namespace XamarinMultiTenant.iOS.TenantC
6 | {
7 | [Register("AppDelegate")]
8 | public class AppDelegate : AppDelegateBase
9 | {
10 | protected override ITenant Tenant => Tenants.TenantC.GetTenant();
11 | }
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/ReadMe.md:
--------------------------------------------------------------------------------
1 | # Xamarin Multi Tenant
2 |
3 | In this repository [Oberdan Ferreira](https://github.com/oberdanf) and I are demonstrating how to implement a multi tenant solution also knows as "white label"apps using Xamarin.Forms.
4 |
5 | You can watch the [recording of our talk](https://www.infoq.com/br/presentations/desenvolvendo-aplicacoes-multi-tenant/) (in Portuguese).
6 |
7 | Please feel free to fork this repository, or send us your question throught the issues.]
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/layout/Toolbar.axml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/Common/Colors.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace XamarinMultiTenant.Common
4 | {
5 | public static class Colors
6 | {
7 | public static Color White => Color.White;
8 | public static Color BackgroundWhite => Color.GhostWhite;
9 |
10 | public static Color Green => Color.LightSeaGreen;
11 | public static Color Blue => Color.DeepSkyBlue;
12 | public static Color Purple => Color.Purple;
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/XamarinMultiTenant.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using Android.App;
2 | using Android.Content.PM;
3 | using XamarinMultiTenant.Android.Core;
4 | using XamarinMultiTenant.Common;
5 |
6 | namespace XamarinMultiTenant.Droid
7 | {
8 | [Activity(Label = "XamarinMultiTenant", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
9 | public class MainActivity : MainActivityBase
10 | {
11 | protected override ITenant Tenant => Tenants.TenantA.GetTenant();
12 | }
13 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using Android.App;
2 | using Android.Content.PM;
3 | using XamarinMultiTenant.Android.Core;
4 | using XamarinMultiTenant.Common;
5 |
6 | namespace XamarinMultiTenant.Android.TenantB
7 | {
8 | [Activity(Label = "XamarinMultiTenant", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
9 | public class MainActivity : MainActivityBase
10 | {
11 | protected override ITenant Tenant => Tenants.TenantB.GetTenant();
12 | }
13 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using Android.App;
2 | using Android.Content.PM;
3 | using XamarinMultiTenant.Android.Core;
4 | using XamarinMultiTenant.Common;
5 |
6 | namespace XamarinMultiTenant.Android.TenantC
7 | {
8 | [Activity(Label = "XamarinMultiTenant", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
9 | public class MainActivity : MainActivityBase
10 | {
11 | protected override ITenant Tenant => Tenants.TenantC.GetTenant();
12 | }
13 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/layout/Tabbar.axml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 | GhostWhite
9 | #ff8833
10 | White
11 |
12 |
13 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: CI on Push and Pull Request
2 |
3 | on: [push, pull_request]
4 |
5 | jobs:
6 | Android:
7 | runs-on: macos-latest
8 | steps:
9 | - uses: actions/checkout@v1
10 | - name: Android
11 | run: |
12 | nuget restore
13 | msbuild /m XamarinMultiTenant.sln /verbosity:normal /t:Rebuild /p:Configuration=Debug "/p:Platform=Any CPU"
14 |
15 | iOS:
16 | runs-on: macos-latest
17 | steps:
18 | - uses: actions/checkout@v1
19 | - name: iOS
20 | run: |
21 | nuget restore
22 | msbuild /m XamarinMultiTenant.sln /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug
23 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/Common/Tenant.cs:
--------------------------------------------------------------------------------
1 | using System.Drawing;
2 |
3 | namespace XamarinMultiTenant.Common
4 | {
5 | public class Tenant : ITenant
6 | {
7 | public string Name { get; private set; }
8 | public string Url { get; private set; }
9 | public Color PrimaryColor { get; private set; }
10 | public Color SecondaryColor { get; private set; }
11 |
12 | public Tenant(string name, string url, Color primaryColor, Color secondaryColor)
13 | {
14 | Name = name;
15 | Url = url;
16 | PrimaryColor = primaryColor;
17 | SecondaryColor = secondaryColor;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with you package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
--------------------------------------------------------------------------------
/XamarinMultiTenant/ViewModels/MainPageViewModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Input;
3 | using Prism.Commands;
4 | using Prism.Navigation;
5 | using Xamarin.Forms;
6 | using XamarinMultiTenant.Common;
7 |
8 | namespace XamarinMultiTenant.ViewModels
9 | {
10 | public class MainPageViewModel : ViewModelBase
11 | {
12 | private readonly ITenant tenant;
13 |
14 | public MainPageViewModel(INavigationService navigationService, ITenant tenant)
15 | : base(navigationService)
16 | {
17 | Title = "Main Page";
18 | this.tenant = tenant;
19 |
20 | GoCommand = new DelegateCommand(GoClick);
21 | }
22 |
23 | private void GoClick()
24 | {
25 | Device.OpenUri(new Uri(tenant.Url));
26 | }
27 |
28 | public string Tenant => tenant.Name;
29 | public ICommand GoCommand { get; }
30 | }
31 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant/Views/MainPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/Common/Tenants.cs:
--------------------------------------------------------------------------------
1 | namespace XamarinMultiTenant.Common
2 | {
3 | public static class Tenants
4 | {
5 | public static class TenantA
6 | {
7 | private const string NAME = "Microsoft";
8 | private const string URL = "https://www.microsoft.com";
9 |
10 | public static ITenant GetTenant() => new Tenant(NAME, URL, Colors.Blue, Colors.White);
11 | }
12 |
13 | public static class TenantB
14 | {
15 | private const string NAME = "Xamarin";
16 | private const string URL = "https://www.xamarin.com";
17 |
18 | public static ITenant GetTenant() => new Tenant(NAME, URL, Colors.Green, Colors.White);
19 | }
20 |
21 | public static class TenantC
22 | {
23 | private const string NAME = ".NET Foundation";
24 | private const string URL = "https://dotnetfoundation.org/";
25 |
26 | public static ITenant GetTenant() => new Tenant(NAME, URL, Colors.Purple, Colors.White);
27 | }
28 |
29 |
30 | }
31 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/MainPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Prism;
2 | using Prism.Ioc;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.IO;
6 | using System.Linq;
7 | using System.Runtime.InteropServices.WindowsRuntime;
8 | using Windows.Foundation;
9 | using Windows.Foundation.Collections;
10 | using Windows.UI.Xaml;
11 | using Windows.UI.Xaml.Controls;
12 | using Windows.UI.Xaml.Controls.Primitives;
13 | using Windows.UI.Xaml.Data;
14 | using Windows.UI.Xaml.Input;
15 | using Windows.UI.Xaml.Media;
16 | using Windows.UI.Xaml.Navigation;
17 |
18 | namespace XamarinMultiTenant.UWP
19 | {
20 | public sealed partial class MainPage
21 | {
22 | public MainPage()
23 | {
24 | this.InitializeComponent();
25 |
26 | LoadApplication(new XamarinMultiTenant.App(new UwpInitializer()));
27 | }
28 | }
29 |
30 | public class UwpInitializer : IPlatformInitializer
31 | {
32 | public void RegisterTypes(IContainerRegistry containerRegistry)
33 | {
34 | // Register any platform specific implementations
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Alexandre Santos Costa
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/ViewModels/ViewModelBase.cs:
--------------------------------------------------------------------------------
1 | using Prism.Mvvm;
2 | using Prism.Navigation;
3 |
4 | namespace XamarinMultiTenant.ViewModels
5 | {
6 | public class ViewModelBase : BindableBase, INavigationAware, IDestructible
7 | {
8 | protected INavigationService NavigationService { get; private set; }
9 |
10 | private string _title;
11 | public string Title
12 | {
13 | get { return _title; }
14 | set { SetProperty(ref _title, value); }
15 | }
16 |
17 | public ViewModelBase(INavigationService navigationService)
18 | {
19 | NavigationService = navigationService;
20 | }
21 |
22 | public virtual void OnNavigatedFrom(INavigationParameters parameters)
23 | {
24 |
25 | }
26 |
27 | public virtual void OnNavigatedTo(INavigationParameters parameters)
28 | {
29 |
30 | }
31 |
32 | public virtual void OnNavigatingTo(INavigationParameters parameters)
33 | {
34 |
35 | }
36 |
37 | public virtual void Destroy()
38 | {
39 |
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.Android.Core")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.Android.Core")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 | [assembly: ComVisible(false)]
16 |
17 | // Version information for an assembly consists of the following four values:
18 | //
19 | // Major Version
20 | // Minor Version
21 | // Build Number
22 | // Revision
23 | //
24 | // You can specify all the values or you can default the Build and Revision Numbers
25 | // by using the '*' as shown below:
26 | // [assembly: AssemblyVersion("1.0.*")]
27 | [assembly: AssemblyVersion("1.0.0.0")]
28 | [assembly: AssemblyFileVersion("1.0.0.0")]
29 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.Android.TenantB")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.Android.TenantB")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 | [assembly: ComVisible(false)]
16 |
17 | // Version information for an assembly consists of the following four values:
18 | //
19 | // Major Version
20 | // Minor Version
21 | // Build Number
22 | // Revision
23 | //
24 | // You can specify all the values or you can default the Build and Revision Numbers
25 | // by using the '*' as shown below:
26 | // [assembly: AssemblyVersion("1.0.*")]
27 | [assembly: AssemblyVersion("1.0.0.0")]
28 | [assembly: AssemblyFileVersion("1.0.0.0")]
29 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.Android.TenantC")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.Android.TenantC")]
12 | [assembly: AssemblyCopyright("Copyright © 2018")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 | [assembly: ComVisible(false)]
16 |
17 | // Version information for an assembly consists of the following four values:
18 | //
19 | // Major Version
20 | // Minor Version
21 | // Build Number
22 | // Revision
23 | //
24 | // You can specify all the values or you can default the Build and Revision Numbers
25 | // by using the '*' as shown below:
26 | // [assembly: AssemblyVersion("1.0.*")]
27 | [assembly: AssemblyVersion("1.0.0.0")]
28 | [assembly: AssemblyFileVersion("1.0.0.0")]
29 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("XamarinMultiTenant.UWP")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("XamarinMultiTenant.UWP")]
13 | [assembly: AssemblyCopyright("Copyright © 2015")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Version information for an assembly consists of the following four values:
18 | //
19 | // Major Version
20 | // Minor Version
21 | // Build Number
22 | // Revision
23 | //
24 | // You can specify all the values or you can default the Build and Revision Numbers
25 | // by using the '*' as shown below:
26 | // [assembly: AssemblyVersion("1.0.*")]
27 | [assembly: AssemblyVersion("1.0.0.0")]
28 | [assembly: AssemblyFileVersion("1.0.0.0")]
29 | [assembly: ComVisible(false)]
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.Core/AppDelegateBase.cs:
--------------------------------------------------------------------------------
1 | using Foundation;
2 | using Prism;
3 | using Prism.Ioc;
4 | using UIKit;
5 | using XamarinMultiTenant.Common;
6 |
7 | namespace XamarinMultiTenant.iOS.Core
8 | {
9 | public abstract partial class AppDelegateBase : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
10 | {
11 | protected abstract ITenant Tenant { get; }
12 |
13 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
14 | {
15 | global::Xamarin.Forms.Forms.Init();
16 | global::Xamarin.Forms.FormsMaterial.Init();
17 | LoadApplication(new App(new iOSInitializer(Tenant)));
18 |
19 | return base.FinishedLaunching(app, options);
20 | }
21 | }
22 |
23 | public class iOSInitializer : IPlatformInitializer
24 | {
25 | private readonly ITenant tenant;
26 |
27 | public iOSInitializer(ITenant tenant)
28 | {
29 | this.tenant = tenant;
30 | }
31 |
32 | public void RegisterTypes(IContainerRegistry containerRegistry)
33 | {
34 | containerRegistry.RegisterInstance(tenant);
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Properties/Default.rd.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 | using Android.App;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("XamarinMultiTenant.Android")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("XamarinMultiTenant.Android")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 | [assembly: ComVisible(false)]
17 |
18 | // Version information for an assembly consists of the following four values:
19 | //
20 | // Major Version
21 | // Minor Version
22 | // Build Number
23 | // Revision
24 | //
25 | // You can specify all the values or you can default the Build and Revision Numbers
26 | // by using the '*' as shown below:
27 | // [assembly: AssemblyVersion("1.0.*")]
28 | [assembly: AssemblyVersion("1.0.0.0")]
29 | [assembly: AssemblyFileVersion("1.0.0.0")]
30 |
31 | // Add some common permissions, these can be removed if not needed
32 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
33 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
34 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.iOS")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.iOS")]
12 | [assembly: AssemblyCopyright("Copyright © 2014")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.Core/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.iOS.Core")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.iOS.Core")]
12 | [assembly: AssemblyCopyright("Copyright © 2017")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("50c7b8c9-e664-45af-b88e-0c9b8b9c1be1")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.iOS.TenantB")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.iOS.TenantB")]
12 | [assembly: AssemblyCopyright("Copyright © 2017")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("50c7b8c9-e664-45af-b88e-0c9b8b9c1be1")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("XamarinMultiTenant.iOS.TenantC")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("XamarinMultiTenant.iOS.TenantC")]
12 | [assembly: AssemblyCopyright("Copyright © 2017")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("50c7b8c9-e664-45af-b88e-0c9b8b9c1be1")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | XamarinMultiTenant
7 | BLagunas
8 | Assets\StoreLogo.png
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/XamarinMultiTenant/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using Prism;
2 | using Prism.Ioc;
3 | using Xamarin.Forms;
4 | using Xamarin.Forms.Xaml;
5 | using XamarinMultiTenant.Common;
6 | using XamarinMultiTenant.ViewModels;
7 | using XamarinMultiTenant.Views;
8 |
9 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
10 | namespace XamarinMultiTenant
11 | {
12 | public partial class App
13 | {
14 | /*
15 | * The Xamarin Forms XAML Previewer in Visual Studio uses System.Activator.CreateInstance.
16 | * This imposes a limitation in which the App class must have a default constructor.
17 | * App(IPlatformInitializer initializer = null) cannot be handled by the Activator.
18 | */
19 | public App() : this(null) { }
20 |
21 | public App(IPlatformInitializer initializer) : base(initializer) { }
22 |
23 | protected override async void OnInitialized()
24 | {
25 | InitializeComponent();
26 |
27 | InitializeTenant();
28 |
29 | await NavigationService.NavigateAsync("NavigationPage/MainPage");
30 | }
31 |
32 | private void InitializeTenant()
33 | {
34 | ITenant tenant = Container.Resolve();
35 | Resources[Constants.PRIMARY_COLOR] = tenant.PrimaryColor;
36 | Resources[Constants.SECONDARY_COLOR] = tenant.SecondaryColor;
37 | }
38 |
39 | protected override void RegisterTypes(IContainerRegistry containerRegistry)
40 | {
41 | containerRegistry.RegisterForNavigation();
42 | containerRegistry.RegisterForNavigation();
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDisplayName
6 | XamarinMultiTenant.iOS.TenantB
7 | CFBundleIdentifier
8 | com.companyname.XamarinMultiTenant.iOS.TenantB
9 | CFBundleShortVersionString
10 | 1.0
11 | CFBundleVersion
12 | 1.0
13 | LSRequiresIPhoneOS
14 |
15 | MinimumOSVersion
16 | 9.3
17 | UIDeviceFamily
18 |
19 | 1
20 |
21 | UILaunchStoryboardName
22 | LaunchScreen
23 | UIRequiredDeviceCapabilities
24 |
25 | armv7
26 |
27 | UISupportedInterfaceOrientations
28 |
29 | UIInterfaceOrientationPortrait
30 | UIInterfaceOrientationLandscapeLeft
31 | UIInterfaceOrientationLandscapeRight
32 |
33 | UISupportedInterfaceOrientations~ipad
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationPortraitUpsideDown
37 | UIInterfaceOrientationLandscapeLeft
38 | UIInterfaceOrientationLandscapeRight
39 |
40 | XSAppIconAssets
41 | Assets.xcassets/AppIcon.appiconset
42 |
43 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDisplayName
6 | XamarinMultiTenant.iOS.TenantC
7 | CFBundleIdentifier
8 | com.companyname.XamarinMultiTenant.iOS.TenantC
9 | CFBundleShortVersionString
10 | 1.0
11 | CFBundleVersion
12 | 1.0
13 | LSRequiresIPhoneOS
14 |
15 | MinimumOSVersion
16 | 11.2
17 | UIDeviceFamily
18 |
19 | 1
20 | 2
21 |
22 | UILaunchStoryboardName
23 | LaunchScreen
24 | UIRequiredDeviceCapabilities
25 |
26 | armv7
27 |
28 | UISupportedInterfaceOrientations
29 |
30 | UIInterfaceOrientationPortrait
31 | UIInterfaceOrientationLandscapeLeft
32 | UIInterfaceOrientationLandscapeRight
33 |
34 | UISupportedInterfaceOrientations~ipad
35 |
36 | UIInterfaceOrientationPortrait
37 | UIInterfaceOrientationPortraitUpsideDown
38 | UIInterfaceOrientationLandscapeLeft
39 | UIInterfaceOrientationLandscapeRight
40 |
41 | XSAppIconAssets
42 | Assets.xcassets/AppIcon.appiconset
43 |
44 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable/
12 | icon.png
13 |
14 | layout/
15 | main.xml
16 |
17 | values/
18 | strings.xml
19 |
20 | In order to get the build system to recognize Android resources, set the build action to
21 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
22 | instead operate on resource IDs. When you compile an Android application that uses resources,
23 | the build system will package the resources for distribution and generate a class called "R"
24 | (this is an Android convention) that contains the tokens for each one of the resources
25 | included. For example, for the above Resources layout, this is what the R class would expose:
26 |
27 | public class R {
28 | public class drawable {
29 | public const int icon = 0x123;
30 | }
31 |
32 | public class layout {
33 | public const int main = 0x456;
34 | }
35 |
36 | public class strings {
37 | public const int first_string = 0xabc;
38 | public const int second_string = 0xbcd;
39 | }
40 | }
41 |
42 | You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main
43 | to reference the layout/main.xml file, or R.strings.first_string to reference the first
44 | string in the dictionary file values/strings.xml.
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable/
12 | icon.png
13 |
14 | layout/
15 | main.xml
16 |
17 | values/
18 | strings.xml
19 |
20 | In order to get the build system to recognize Android resources, set the build action to
21 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
22 | instead operate on resource IDs. When you compile an Android application that uses resources,
23 | the build system will package the resources for distribution and generate a class called "R"
24 | (this is an Android convention) that contains the tokens for each one of the resources
25 | included. For example, for the above Resources layout, this is what the R class would expose:
26 |
27 | public class R {
28 | public class drawable {
29 | public const int icon = 0x123;
30 | }
31 |
32 | public class layout {
33 | public const int main = 0x456;
34 | }
35 |
36 | public class strings {
37 | public const int first_string = 0xabc;
38 | public const int second_string = 0xbcd;
39 | }
40 | }
41 |
42 | You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main
43 | to reference the layout/main.xml file, or R.strings.first_string to reference the first
44 | string in the dictionary file values/strings.xml.
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/Resources/AboutResources.txt:
--------------------------------------------------------------------------------
1 | Images, layout descriptions, binary blobs and string dictionaries can be included
2 | in your application as resource files. Various Android APIs are designed to
3 | operate on the resource IDs instead of dealing with images, strings or binary blobs
4 | directly.
5 |
6 | For example, a sample Android app that contains a user interface layout (main.xml),
7 | an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
8 | would keep its resources in the "Resources" directory of the application:
9 |
10 | Resources/
11 | drawable-hdpi/
12 | icon.png
13 |
14 | drawable-ldpi/
15 | icon.png
16 |
17 | drawable-mdpi/
18 | icon.png
19 |
20 | layout/
21 | main.xml
22 |
23 | values/
24 | strings.xml
25 |
26 | In order to get the build system to recognize Android resources, set the build action to
27 | "AndroidResource". The native Android APIs do not operate directly with filenames, but
28 | instead operate on resource IDs. When you compile an Android application that uses resources,
29 | the build system will package the resources for distribution and generate a class called
30 | "Resource" that contains the tokens for each one of the resources included. For example,
31 | for the above Resources layout, this is what the Resource class would expose:
32 |
33 | public class Resource {
34 | public class drawable {
35 | public const int icon = 0x123;
36 | }
37 |
38 | public class layout {
39 | public const int main = 0x456;
40 | }
41 |
42 | public class strings {
43 | public const int first_string = 0xabc;
44 | public const int second_string = 0xbcd;
45 | }
46 | }
47 |
48 | You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
49 | to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
50 | string in the dictionary file values/strings.xml.
51 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | UIDeviceFamily
6 |
7 | 1
8 | 2
9 |
10 | UISupportedInterfaceOrientations
11 |
12 | UIInterfaceOrientationPortrait
13 | UIInterfaceOrientationLandscapeLeft
14 | UIInterfaceOrientationLandscapeRight
15 |
16 | UISupportedInterfaceOrientations~ipad
17 |
18 | UIInterfaceOrientationPortrait
19 | UIInterfaceOrientationPortraitUpsideDown
20 | UIInterfaceOrientationLandscapeLeft
21 | UIInterfaceOrientationLandscapeRight
22 |
23 | MinimumOSVersion
24 | 8.0
25 | CFBundleDisplayName
26 | XamarinMultiTenant
27 | CFBundleIdentifier
28 | com.companyname.appname
29 | CFBundleVersion
30 | 1.0
31 | CFBundleIconFiles
32 |
33 | Icon-60@2x
34 | Icon-60@3x
35 | Icon-76
36 | Icon-76@2x
37 | Default
38 | Default@2x
39 | Default-568h@2x
40 | Default-Portrait
41 | Default-Portrait@2x
42 | Icon-Small-40
43 | Icon-Small-40@2x
44 | Icon-Small-40@3x
45 | Icon-Small
46 | Icon-Small@2x
47 | Icon-Small@3x
48 |
49 | UILaunchStoryboardName
50 | LaunchScreen
51 |
52 |
53 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/MainActivityBase.cs:
--------------------------------------------------------------------------------
1 | using Android.Content.PM;
2 | using Android.OS;
3 | using Android.Runtime;
4 | using Prism;
5 | using Prism.Ioc;
6 | using XamarinMultiTenant.Common;
7 |
8 | namespace XamarinMultiTenant.Android.Core
9 | {
10 | //[Activity(Label = "XamarinMultiTenant", Icon = "@mipmap/ic_launcher", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
11 | public abstract class MainActivityBase : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
12 | {
13 | protected abstract ITenant Tenant { get; }
14 |
15 | protected override void OnCreate(Bundle bundle)
16 | {
17 | ResourceIdManager.UpdateIdValues();
18 |
19 | TabLayoutResource = Resource.Layout.Tabbar;
20 | ToolbarResource = Resource.Layout.Toolbar;
21 |
22 | base.OnCreate(bundle);
23 |
24 | Xamarin.Essentials.Platform.Init(this, bundle);
25 |
26 | global::Xamarin.Forms.Forms.Init(this, bundle);
27 | global::Xamarin.Forms.FormsMaterial.Init(this, bundle);
28 | LoadApplication(new App(new AndroidInitializer(Tenant)));
29 | }
30 |
31 | public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
32 | {
33 | Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
34 |
35 | base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
36 | }
37 | }
38 |
39 | public class AndroidInitializer : IPlatformInitializer
40 | {
41 | private readonly ITenant tenant;
42 |
43 | public AndroidInitializer(ITenant tenant) : base()
44 | {
45 | this.tenant = tenant;
46 | }
47 |
48 | public void RegisterTypes(IContainerRegistry containerRegistry)
49 | {
50 | containerRegistry.RegisterInstance(tenant);
51 | }
52 | }
53 | }
54 |
55 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Resources/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images": [
3 | {
4 | "scale": "2x",
5 | "size": "20x20",
6 | "idiom": "iphone",
7 | "filename": "Icon40.png"
8 | },
9 | {
10 | "scale": "3x",
11 | "size": "20x20",
12 | "idiom": "iphone",
13 | "filename": "Icon60.png"
14 | },
15 | {
16 | "scale": "2x",
17 | "size": "29x29",
18 | "idiom": "iphone",
19 | "filename": "Icon58.png"
20 | },
21 | {
22 | "scale": "3x",
23 | "size": "29x29",
24 | "idiom": "iphone",
25 | "filename": "Icon87.png"
26 | },
27 | {
28 | "scale": "2x",
29 | "size": "40x40",
30 | "idiom": "iphone",
31 | "filename": "Icon80.png"
32 | },
33 | {
34 | "scale": "3x",
35 | "size": "40x40",
36 | "idiom": "iphone",
37 | "filename": "Icon120.png"
38 | },
39 | {
40 | "scale": "2x",
41 | "size": "60x60",
42 | "idiom": "iphone",
43 | "filename": "Icon120.png"
44 | },
45 | {
46 | "scale": "3x",
47 | "size": "60x60",
48 | "idiom": "iphone",
49 | "filename": "Icon180.png"
50 | },
51 | {
52 | "scale": "1x",
53 | "size": "20x20",
54 | "idiom": "ipad",
55 | "filename": "Icon20.png"
56 | },
57 | {
58 | "scale": "2x",
59 | "size": "20x20",
60 | "idiom": "ipad",
61 | "filename": "Icon40.png"
62 | },
63 | {
64 | "scale": "1x",
65 | "size": "29x29",
66 | "idiom": "ipad",
67 | "filename": "Icon29.png"
68 | },
69 | {
70 | "scale": "2x",
71 | "size": "29x29",
72 | "idiom": "ipad",
73 | "filename": "Icon58.png"
74 | },
75 | {
76 | "scale": "1x",
77 | "size": "40x40",
78 | "idiom": "ipad",
79 | "filename": "Icon40.png"
80 | },
81 | {
82 | "scale": "2x",
83 | "size": "40x40",
84 | "idiom": "ipad",
85 | "filename": "Icon80.png"
86 | },
87 | {
88 | "scale": "1x",
89 | "size": "76x76",
90 | "idiom": "ipad",
91 | "filename": "Icon76.png"
92 | },
93 | {
94 | "scale": "2x",
95 | "size": "76x76",
96 | "idiom": "ipad",
97 | "filename": "Icon152.png"
98 | },
99 | {
100 | "scale": "2x",
101 | "size": "83.5x83.5",
102 | "idiom": "ipad",
103 | "filename": "Icon167.png"
104 | },
105 | {
106 | "scale": "1x",
107 | "size": "1024x1024",
108 | "idiom": "ios-marketing",
109 | "filename": "Icon1024.png"
110 | }
111 | ],
112 | "properties": {},
113 | "info": {
114 | "version": 1,
115 | "author": "xcode"
116 | }
117 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images": [
3 | {
4 | "scale": "2x",
5 | "size": "20x20",
6 | "idiom": "iphone",
7 | "filename": "Icon40.png"
8 | },
9 | {
10 | "scale": "3x",
11 | "size": "20x20",
12 | "idiom": "iphone",
13 | "filename": "Icon60.png"
14 | },
15 | {
16 | "scale": "2x",
17 | "size": "29x29",
18 | "idiom": "iphone",
19 | "filename": "Icon58.png"
20 | },
21 | {
22 | "scale": "3x",
23 | "size": "29x29",
24 | "idiom": "iphone",
25 | "filename": "Icon87.png"
26 | },
27 | {
28 | "scale": "2x",
29 | "size": "40x40",
30 | "idiom": "iphone",
31 | "filename": "Icon80.png"
32 | },
33 | {
34 | "scale": "3x",
35 | "size": "40x40",
36 | "idiom": "iphone",
37 | "filename": "Icon120.png"
38 | },
39 | {
40 | "scale": "2x",
41 | "size": "60x60",
42 | "idiom": "iphone",
43 | "filename": "Icon120.png"
44 | },
45 | {
46 | "scale": "3x",
47 | "size": "60x60",
48 | "idiom": "iphone",
49 | "filename": "Icon180.png"
50 | },
51 | {
52 | "scale": "1x",
53 | "size": "20x20",
54 | "idiom": "ipad",
55 | "filename": "Icon20.png"
56 | },
57 | {
58 | "scale": "2x",
59 | "size": "20x20",
60 | "idiom": "ipad",
61 | "filename": "Icon40.png"
62 | },
63 | {
64 | "scale": "1x",
65 | "size": "29x29",
66 | "idiom": "ipad",
67 | "filename": "Icon29.png"
68 | },
69 | {
70 | "scale": "2x",
71 | "size": "29x29",
72 | "idiom": "ipad",
73 | "filename": "Icon58.png"
74 | },
75 | {
76 | "scale": "1x",
77 | "size": "40x40",
78 | "idiom": "ipad",
79 | "filename": "Icon40.png"
80 | },
81 | {
82 | "scale": "2x",
83 | "size": "40x40",
84 | "idiom": "ipad",
85 | "filename": "Icon80.png"
86 | },
87 | {
88 | "scale": "1x",
89 | "size": "76x76",
90 | "idiom": "ipad",
91 | "filename": "Icon76.png"
92 | },
93 | {
94 | "scale": "2x",
95 | "size": "76x76",
96 | "idiom": "ipad",
97 | "filename": "Icon152.png"
98 | },
99 | {
100 | "scale": "2x",
101 | "size": "83.5x83.5",
102 | "idiom": "ipad",
103 | "filename": "Icon167.png"
104 | },
105 | {
106 | "scale": "1x",
107 | "size": "1024x1024",
108 | "idiom": "ios-marketing",
109 | "filename": "Icon1024.png"
110 | }
111 | ],
112 | "properties": {},
113 | "info": {
114 | "version": 1,
115 | "author": "xcode"
116 | }
117 | }
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.Core/XamarinMultiTenant.iOS.Core.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 8.0.30703
7 | 2.0
8 | {281C7618-D4FD-4AC3-ACC2-96C10A2355D1}
9 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {a52b8a63-bc84-4b47-910d-692533484892}
11 | Library
12 | XamarinMultiTenant.iOS.Core
13 | Resources
14 | XamarinMultiTenant.iOS.Core
15 | PackageReference
16 |
17 |
18 | true
19 | full
20 | false
21 | bin\Debug
22 | DEBUG;
23 | prompt
24 | 4
25 |
26 |
27 | full
28 | true
29 | bin\Release
30 | prompt
31 | 4
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 | {e7d29f40-4bc8-4bd9-b78c-af32cfa9159c}
49 | XamarinMultiTenant
50 |
51 |
52 |
53 |
54 | 8.1.97
55 |
56 |
57 | 1.7.0
58 |
59 |
60 | 5.0.0.2083
61 |
62 |
63 | 5.0.0.2083
64 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/Resources/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
21 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/Resources/LaunchScreen.xib:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
21 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Runtime.InteropServices.WindowsRuntime;
6 | using Windows.ApplicationModel;
7 | using Windows.ApplicationModel.Activation;
8 | using Windows.Foundation;
9 | using Windows.Foundation.Collections;
10 | using Windows.UI.Xaml;
11 | using Windows.UI.Xaml.Controls;
12 | using Windows.UI.Xaml.Controls.Primitives;
13 | using Windows.UI.Xaml.Data;
14 | using Windows.UI.Xaml.Input;
15 | using Windows.UI.Xaml.Media;
16 | using Windows.UI.Xaml.Navigation;
17 |
18 | namespace XamarinMultiTenant.UWP
19 | {
20 | ///
21 | /// Provides application-specific behavior to supplement the default Application class.
22 | ///
23 | sealed partial class App : Application
24 | {
25 | ///
26 | /// Initializes the singleton application object. This is the first line of authored code
27 | /// executed, and as such is the logical equivalent of main() or WinMain().
28 | ///
29 | public App()
30 | {
31 | this.InitializeComponent();
32 | this.Suspending += OnSuspending;
33 | }
34 |
35 | ///
36 | /// Invoked when the application is launched normally by the end user. Other entry points
37 | /// will be used such as when the application is launched to open a specific file.
38 | ///
39 | /// Details about the launch request and process.
40 | protected override void OnLaunched(LaunchActivatedEventArgs e)
41 | {
42 |
43 |
44 | Frame rootFrame = Window.Current.Content as Frame;
45 |
46 | // Do not repeat app initialization when the Window already has content,
47 | // just ensure that the window is active
48 | if (rootFrame == null)
49 | {
50 | // Create a Frame to act as the navigation context and navigate to the first page
51 | rootFrame = new Frame();
52 |
53 | rootFrame.NavigationFailed += OnNavigationFailed;
54 |
55 | Xamarin.Forms.Forms.Init(e);
56 |
57 | if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
58 | {
59 | //TODO: Load state from previously suspended application
60 | }
61 |
62 | // Place the frame in the current Window
63 | Window.Current.Content = rootFrame;
64 | }
65 |
66 | if (rootFrame.Content == null)
67 | {
68 | // When the navigation stack isn't restored navigate to the first page,
69 | // configuring the new page by passing required information as a navigation
70 | // parameter
71 | rootFrame.Navigate(typeof(MainPage), e.Arguments);
72 | }
73 | // Ensure the current window is active
74 | Window.Current.Activate();
75 | }
76 |
77 | ///
78 | /// Invoked when Navigation to a certain page fails
79 | ///
80 | /// The Frame which failed navigation
81 | /// Details about the navigation failure
82 | void OnNavigationFailed(object sender, NavigationFailedEventArgs e)
83 | {
84 | throw new Exception("Failed to load Page " + e.SourcePageType.FullName);
85 | }
86 |
87 | ///
88 | /// Invoked when application execution is being suspended. Application state is saved
89 | /// without knowing whether the application will be terminated or resumed with the contents
90 | /// of memory still intact.
91 | ///
92 | /// The source of the suspend request.
93 | /// Details about the suspend request.
94 | private void OnSuspending(object sender, SuspendingEventArgs e)
95 | {
96 | var deferral = e.SuspendingOperation.GetDeferral();
97 | //TODO: Save application state and stop any background activity
98 | deferral.Complete();
99 | }
100 | }
101 | }
102 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android/XamarinMultiTenant.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 8.0.30703
7 | 2.0
8 | {73B36791-15EC-43A1-80A8-DBDBB31552F6}
9 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | Library
11 | Properties
12 | XamarinMultiTenant.Droid
13 | XamarinMultiTenant.Android
14 | 512
15 | v11.0
16 | True
17 | Resources\Resource.designer.cs
18 | Off
19 | Resource
20 | Properties\AndroidManifest.xml
21 | Resources
22 | Assets
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 | true
32 | full
33 | false
34 | bin\Debug
35 | DEBUG;
36 | prompt
37 | 4
38 | None
39 |
40 |
41 | true
42 | pdbonly
43 | true
44 | bin\Release
45 | prompt
46 | 4
47 | true
48 | false
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 | 5.0.0.2083
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 | Designer
89 |
90 |
91 |
92 |
93 | {5318e089-f350-418c-9a63-e27a3017d625}
94 | XamarinMultiTenant.Android.Core
95 |
96 |
97 | {A682884C-CB44-4A89-B752-27BB634E0ABE}
98 | XamarinMultiTenant
99 |
100 |
101 |
102 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images":[
3 | {
4 | "idiom":"iphone",
5 | "size":"20x20",
6 | "scale":"2x",
7 | "filename":"Icon-App-20x20@2x.png"
8 | },
9 | {
10 | "idiom":"iphone",
11 | "size":"20x20",
12 | "scale":"3x",
13 | "filename":"Icon-App-20x20@3x.png"
14 | },
15 | {
16 | "idiom":"iphone",
17 | "size":"29x29",
18 | "scale":"1x",
19 | "filename":"Icon-App-29x29@1x.png"
20 | },
21 | {
22 | "idiom":"iphone",
23 | "size":"29x29",
24 | "scale":"2x",
25 | "filename":"Icon-App-29x29@2x.png"
26 | },
27 | {
28 | "idiom":"iphone",
29 | "size":"29x29",
30 | "scale":"3x",
31 | "filename":"Icon-App-29x29@3x.png"
32 | },
33 | {
34 | "idiom":"iphone",
35 | "size":"40x40",
36 | "scale":"1x",
37 | "filename":"Icon-App-40x40@1x.png"
38 | },
39 | {
40 | "idiom":"iphone",
41 | "size":"40x40",
42 | "scale":"2x",
43 | "filename":"Icon-App-40x40@2x.png"
44 | },
45 | {
46 | "idiom":"iphone",
47 | "size":"40x40",
48 | "scale":"3x",
49 | "filename":"Icon-App-40x40@3x.png"
50 | },
51 | {
52 | "idiom":"iphone",
53 | "size":"57x57",
54 | "scale":"1x",
55 | "filename":"Icon-App-57x57@1x.png"
56 | },
57 | {
58 | "idiom":"iphone",
59 | "size":"57x57",
60 | "scale":"2x",
61 | "filename":"Icon-App-57x57@2x.png"
62 | },
63 | {
64 | "idiom":"iphone",
65 | "size":"60x60",
66 | "scale":"1x",
67 | "filename":"Icon-App-60x60@1x.png"
68 | },
69 | {
70 | "idiom":"iphone",
71 | "size":"60x60",
72 | "scale":"2x",
73 | "filename":"Icon-App-60x60@2x.png"
74 | },
75 | {
76 | "idiom":"iphone",
77 | "size":"60x60",
78 | "scale":"3x",
79 | "filename":"Icon-App-60x60@3x.png"
80 | },
81 | {
82 | "idiom":"iphone",
83 | "size":"76x76",
84 | "scale":"1x",
85 | "filename":"Icon-App-76x76@1x.png"
86 | },
87 | {
88 | "idiom":"ipad",
89 | "size":"20x20",
90 | "scale":"1x",
91 | "filename":"Icon-App-20x20@1x.png"
92 | },
93 | {
94 | "idiom":"ipad",
95 | "size":"20x20",
96 | "scale":"2x",
97 | "filename":"Icon-App-20x20@2x.png"
98 | },
99 | {
100 | "idiom":"ipad",
101 | "size":"29x29",
102 | "scale":"1x",
103 | "filename":"Icon-App-29x29@1x.png"
104 | },
105 | {
106 | "idiom":"ipad",
107 | "size":"29x29",
108 | "scale":"2x",
109 | "filename":"Icon-App-29x29@2x.png"
110 | },
111 | {
112 | "idiom":"ipad",
113 | "size":"40x40",
114 | "scale":"1x",
115 | "filename":"Icon-App-40x40@1x.png"
116 | },
117 | {
118 | "idiom":"ipad",
119 | "size":"40x40",
120 | "scale":"2x",
121 | "filename":"Icon-App-40x40@2x.png"
122 | },
123 | {
124 | "size" : "50x50",
125 | "idiom" : "ipad",
126 | "filename" : "Icon-Small-50x50@1x.png",
127 | "scale" : "1x"
128 | },
129 | {
130 | "size" : "50x50",
131 | "idiom" : "ipad",
132 | "filename" : "Icon-Small-50x50@2x.png",
133 | "scale" : "2x"
134 | },
135 | {
136 | "idiom":"ipad",
137 | "size":"72x72",
138 | "scale":"1x",
139 | "filename":"Icon-App-72x72@1x.png"
140 | },
141 | {
142 | "idiom":"ipad",
143 | "size":"72x72",
144 | "scale":"2x",
145 | "filename":"Icon-App-72x72@2x.png"
146 | },
147 | {
148 | "idiom":"ipad",
149 | "size":"76x76",
150 | "scale":"1x",
151 | "filename":"Icon-App-76x76@1x.png"
152 | },
153 | {
154 | "idiom":"ipad",
155 | "size":"76x76",
156 | "scale":"2x",
157 | "filename":"Icon-App-76x76@2x.png"
158 | },
159 | {
160 | "idiom":"ipad",
161 | "size":"76x76",
162 | "scale":"3x",
163 | "filename":"Icon-App-76x76@3x.png"
164 | },
165 | {
166 | "idiom":"ipad",
167 | "size":"83.5x83.5",
168 | "scale":"2x",
169 | "filename":"Icon-App-83.5x83.5@2x.png"
170 | },
171 | {
172 | "size" : "1024x1024",
173 | "idiom" : "ios-marketing",
174 | "filename" : "ItunesArtwork@2x.png",
175 | "scale" : "1x"
176 | }
177 | ],
178 | "info":{
179 | "version":1,
180 | "author":"makeappicon"
181 | }
182 | }
183 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.Core/XamarinMultiTenant.Android.Core.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 8.0.30703
7 | 2.0
8 | {5318E089-F350-418C-9A63-E27A3017D625}
9 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {9ef11e43-1701-4396-8835-8392d57abb70}
11 | Library
12 | Properties
13 | XamarinMultiTenant.Android.Core
14 | XamarinMultiTenant.Android.Core
15 | 512
16 | Resources\Resource.designer.cs
17 | Off
18 | false
19 | v11.0
20 | true
21 |
22 |
23 | true
24 | portable
25 | false
26 | bin\Debug\
27 | DEBUG;TRACE
28 | prompt
29 | 4
30 |
31 |
32 | portable
33 | true
34 | bin\Release\
35 | TRACE
36 | prompt
37 | 4
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 | 5.0.0.2083
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 | {e7d29f40-4bc8-4bd9-b78c-af32cfa9159c}
73 | XamarinMultiTenant
74 |
75 |
76 |
77 |
78 | MSBuild:UpdateGeneratedFiles
79 | Designer
80 |
81 |
82 |
83 |
84 | MSBuild:UpdateGeneratedFiles
85 | Designer
86 |
87 |
88 |
89 |
90 | MSBuild:UpdateGeneratedFiles
91 | Designer
92 |
93 |
94 |
95 |
96 | MSBuild:UpdateGeneratedFiles
97 | Designer
98 |
99 |
100 |
101 |
102 | MSBuild:UpdateGeneratedFiles
103 | Designer
104 |
105 |
106 |
107 |
108 | MSBuild:UpdateGeneratedFiles
109 | Designer
110 |
111 |
112 |
113 |
114 | MSBuild:UpdateGeneratedFiles
115 | Designer
116 |
117 |
118 |
119 |
120 | MSBuild:UpdateGeneratedFiles
121 | Designer
122 |
123 |
124 |
125 |
132 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome:
2 | http://EditorConfig.org
3 |
4 | # top-most EditorConfig file
5 | root = true
6 |
7 | # Default settings:
8 | # A newline ending every file
9 | # Use 4 spaces as indentation
10 | [*]
11 | insert_final_newline = true
12 | indent_style = space
13 | indent_size = 4
14 |
15 | # C# files
16 | [*.cs]
17 | # New line preferences
18 | csharp_new_line_before_open_brace = all
19 | csharp_new_line_before_else = true
20 | csharp_new_line_before_catch = true
21 | csharp_new_line_before_finally = true
22 | csharp_new_line_before_members_in_object_initializers = true
23 | csharp_new_line_before_members_in_anonymous_types = true
24 | csharp_new_line_between_query_expression_clauses = true
25 |
26 | # Indentation preferences
27 | csharp_indent_block_contents = true
28 | csharp_indent_braces = false
29 | csharp_indent_case_contents = true
30 | csharp_indent_switch_labels = true
31 | csharp_indent_labels = one_less_than_current
32 |
33 | # avoid this. unless absolutely necessary
34 | dotnet_style_qualification_for_field = false:suggestion
35 | dotnet_style_qualification_for_property = false:suggestion
36 | dotnet_style_qualification_for_method = false:suggestion
37 | dotnet_style_qualification_for_event = false:suggestion
38 |
39 | # only use var when it's obvious what the variable type is
40 | csharp_style_var_for_built_in_types = false:none
41 | csharp_style_var_when_type_is_apparent = false:none
42 | csharp_style_var_elsewhere = false:suggestion
43 |
44 | # use language keywords instead of BCL types
45 | dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion
46 | dotnet_style_predefined_type_for_member_access = true:suggestion
47 |
48 | # name all constant fields using PascalCase
49 | dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
50 | dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
51 | dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
52 |
53 | dotnet_naming_symbols.constant_fields.applicable_kinds = field
54 | dotnet_naming_symbols.constant_fields.required_modifiers = const
55 |
56 | dotnet_naming_style.pascal_case_style.capitalization = pascal_case
57 |
58 | # static fields should have s_ prefix
59 | dotnet_naming_rule.static_fields_should_have_prefix.severity = suggestion
60 | dotnet_naming_rule.static_fields_should_have_prefix.symbols = static_fields
61 | dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style
62 |
63 | dotnet_naming_symbols.static_fields.applicable_kinds = field
64 | dotnet_naming_symbols.static_fields.required_modifiers = static
65 |
66 | dotnet_naming_style.static_prefix_style.required_prefix = s_
67 | dotnet_naming_style.static_prefix_style.capitalization = camel_case
68 |
69 | # internal and private fields should be _camelCase
70 | dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
71 | dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
72 | dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
73 |
74 | dotnet_naming_symbols.private_internal_fields.applicable_kinds = field
75 | dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal
76 |
77 | dotnet_naming_style.camel_case_underscore_style.required_prefix = _
78 | dotnet_naming_style.camel_case_underscore_style.capitalization = camel_case
79 |
80 | # Code style defaults
81 | dotnet_sort_system_directives_first = true
82 | csharp_preserve_single_line_blocks = true
83 | csharp_preserve_single_line_statements = false
84 |
85 | # Expression-level preferences
86 | dotnet_style_object_initializer = true:suggestion
87 | dotnet_style_collection_initializer = true:suggestion
88 | dotnet_style_explicit_tuple_names = true:suggestion
89 | dotnet_style_coalesce_expression = true:suggestion
90 | dotnet_style_null_propagation = true:suggestion
91 |
92 | # Expression-bodied members
93 | csharp_style_expression_bodied_methods = false:none
94 | csharp_style_expression_bodied_constructors = false:none
95 | csharp_style_expression_bodied_operators = false:none
96 | csharp_style_expression_bodied_properties = true:none
97 | csharp_style_expression_bodied_indexers = true:none
98 | csharp_style_expression_bodied_accessors = true:none
99 |
100 | # Pattern matching
101 | csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion
102 | csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
103 | csharp_style_inlined_variable_declaration = true:suggestion
104 |
105 | # Null checking preferences
106 | csharp_style_throw_expression = true:suggestion
107 | csharp_style_conditional_delegate_call = true:suggestion
108 |
109 | # Space preferences
110 | csharp_space_after_cast = false
111 | csharp_space_after_colon_in_inheritance_clause = true
112 | csharp_space_after_comma = true
113 | csharp_space_after_dot = false
114 | csharp_space_after_keywords_in_control_flow_statements = true
115 | csharp_space_after_semicolon_in_for_statement = true
116 | csharp_space_around_binary_operators = before_and_after
117 | csharp_space_around_declaration_statements = do_not_ignore
118 | csharp_space_before_colon_in_inheritance_clause = true
119 | csharp_space_before_comma = false
120 | csharp_space_before_dot = false
121 | csharp_space_before_open_square_brackets = false
122 | csharp_space_before_semicolon_in_for_statement = false
123 | csharp_space_between_empty_square_brackets = false
124 | csharp_space_between_method_call_empty_parameter_list_parentheses = false
125 | csharp_space_between_method_call_name_and_opening_parenthesis = false
126 | csharp_space_between_method_call_parameter_list_parentheses = false
127 | csharp_space_between_method_declaration_empty_parameter_list_parentheses = false
128 | csharp_space_between_method_declaration_name_and_open_parenthesis = false
129 | csharp_space_between_method_declaration_parameter_list_parentheses = false
130 | csharp_space_between_parentheses = false
131 | csharp_space_between_square_brackets = false
132 |
133 | [*.{asm,inc}]
134 | indent_size = 8
135 |
136 | # Xml project files
137 | [*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj}]
138 | indent_size = 2
139 |
140 | # Xml config files
141 | [*.{props,targets,config,nuspec}]
142 | indent_size = 2
143 |
144 | [CMakeLists.txt]
145 | indent_size = 2
146 |
147 | [*.cmd]
148 | indent_size = 2
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantB/XamarinMultiTenant.iOS.TenantB.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | {2E20EBB1-7A9C-412B-AE26-1C3C3AB37221}
7 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {440aa056-593a-4519-8708-27081dee632f}
9 | Exe
10 | XamarinMultiTenant.iOS.TenantB
11 | Resources
12 | XamarinMultiTenant.iOS.TenantB
13 | true
14 | NSUrlSessionHandler
15 | PackageReference
16 |
17 |
18 | true
19 | full
20 | false
21 | bin\iPhoneSimulator\Debug
22 | DEBUG
23 | prompt
24 | 4
25 | x86_64
26 | None
27 | true
28 |
29 |
30 | none
31 | true
32 | bin\iPhoneSimulator\Release
33 | prompt
34 | 4
35 | None
36 | x86_64
37 |
38 |
39 | true
40 | full
41 | false
42 | bin\iPhone\Debug
43 | DEBUG
44 | prompt
45 | 4
46 | ARM64
47 | Entitlements.plist
48 | iPhone Developer
49 | true
50 |
51 |
52 | none
53 | true
54 | bin\iPhone\Release
55 | prompt
56 | 4
57 | Entitlements.plist
58 | ARM64
59 | iPhone Developer
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 | 8.1.97
80 |
81 |
82 |
83 | 5.0.0.2083
84 |
85 |
86 | 5.0.0.2083
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 | false
95 |
96 |
97 | false
98 |
99 |
100 | false
101 |
102 |
103 | false
104 |
105 |
106 | false
107 |
108 |
109 | false
110 |
111 |
112 | false
113 |
114 |
115 | false
116 |
117 |
118 | false
119 |
120 |
121 | false
122 |
123 |
124 | false
125 |
126 |
127 | false
128 |
129 |
130 | false
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 | {281c7618-d4fd-4ac3-acc2-96c10a2355d1}
139 | XamarinMultiTenant.iOS.Core
140 | false
141 | false
142 |
143 |
144 | {e7d29f40-4bc8-4bd9-b78c-af32cfa9159c}
145 | XamarinMultiTenant
146 |
147 |
148 |
149 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS.TenantC/XamarinMultiTenant.iOS.TenantC.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | {48D0BCD0-1FC6-496D-9670-9C39CA2A2E9A}
7 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {440aa056-593a-4519-8708-27081dee632f}
9 | Exe
10 | XamarinMultiTenant.iOS.TenantC
11 | Resources
12 | XamarinMultiTenant.iOS.TenantC
13 | true
14 | NSUrlSessionHandler
15 | PackageReference
16 |
17 |
18 | true
19 | full
20 | false
21 | bin\iPhoneSimulator\Debug
22 | DEBUG
23 | prompt
24 | 4
25 | x86_64
26 | None
27 | true
28 |
29 |
30 | none
31 | true
32 | bin\iPhoneSimulator\Release
33 | prompt
34 | 4
35 | None
36 | x86_64
37 |
38 |
39 | true
40 | full
41 | false
42 | bin\iPhone\Debug
43 | DEBUG
44 | prompt
45 | 4
46 | ARM64
47 | Entitlements.plist
48 | iPhone Developer
49 | true
50 |
51 |
52 | none
53 | true
54 | bin\iPhone\Release
55 | prompt
56 | 4
57 | Entitlements.plist
58 | ARM64
59 | iPhone Developer
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 | 8.1.97
80 |
81 |
82 |
83 | 5.0.0.2083
84 |
85 |
86 | 5.0.0.2083
87 |
88 |
89 |
90 |
91 | false
92 |
93 |
94 | false
95 |
96 |
97 | false
98 |
99 |
100 | false
101 |
102 |
103 | false
104 |
105 |
106 | false
107 |
108 |
109 | false
110 |
111 |
112 | false
113 |
114 |
115 | false
116 |
117 |
118 | false
119 |
120 |
121 | false
122 |
123 |
124 | false
125 |
126 |
127 | false
128 |
129 |
130 | false
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 | {281c7618-d4fd-4ac3-acc2-96c10a2355d1}
139 | XamarinMultiTenant.iOS.Core
140 | false
141 | false
142 |
143 |
144 | {e7d29f40-4bc8-4bd9-b78c-af32cfa9159c}
145 | XamarinMultiTenant
146 |
147 |
148 |
149 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.UWP/XamarinMultiTenant.UWP.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | x86
7 | {2BDF2C13-0CF8-4135-AEEF-950693167E2B}
8 | AppContainerExe
9 | Properties
10 | XamarinMultiTenant.UWP
11 | XamarinMultiTenant.UWP
12 | en-US
13 | UAP
14 | 10.0.16299.0
15 | 10.0.16299.0
16 | 14
17 | 512
18 | {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
19 | true
20 | true
21 | XamarinMultiTenant.UWP_TemporaryKey.pfx
22 |
23 |
24 | true
25 | bin\ARM\Debug\
26 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
27 | ;2008
28 | full
29 | ARM
30 | false
31 | prompt
32 | true
33 |
34 |
35 | bin\ARM\Release\
36 | TRACE;NETFX_CORE;WINDOWS_UWP
37 | true
38 | ;2008
39 | pdbonly
40 | ARM
41 | false
42 | prompt
43 | true
44 | true
45 |
46 |
47 | true
48 | bin\x64\Debug\
49 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
50 | ;2008
51 | full
52 | x64
53 | false
54 | prompt
55 | true
56 |
57 |
58 | bin\x64\Release\
59 | TRACE;NETFX_CORE;WINDOWS_UWP
60 | true
61 | ;2008
62 | pdbonly
63 | x64
64 | false
65 | prompt
66 | true
67 | true
68 |
69 |
70 | true
71 | bin\x86\Debug\
72 | DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP
73 | ;2008
74 | full
75 | x86
76 | false
77 | prompt
78 | true
79 |
80 |
81 | bin\x86\Release\
82 | TRACE;NETFX_CORE;WINDOWS_UWP
83 | true
84 | ;2008
85 | pdbonly
86 | x86
87 | false
88 | prompt
89 | true
90 | true
91 |
92 |
93 |
94 | App.xaml
95 |
96 |
97 | MainPage.xaml
98 |
99 |
100 |
101 |
102 |
103 | Designer
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 | MSBuild:Compile
119 | Designer
120 |
121 |
122 | MSBuild:Compile
123 | Designer
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 | {A682884C-CB44-4A89-B752-27BB634E0ABE}
134 | XamarinMultiTenant
135 |
136 |
137 |
138 |
139 |
140 |
141 | 14.0
142 |
143 |
144 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantB/XamarinMultiTenant.Android.TenantB.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 8.0.30703
7 | 2.0
8 | {09B94428-D3FB-40D2-B542-17F34402E278}
9 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {122416d6-6b49-4ee2-a1e8-b825f31c79fe}
11 | Library
12 | Properties
13 | XamarinMultiTenant.Android.TenantB
14 | XamarinMultiTenant.Android.TenantB
15 | 512
16 | True
17 | Resources\Resource.designer.cs
18 | Resource
19 | Off
20 | false
21 | v11.0
22 | Properties\AndroidManifest.xml
23 | Resources
24 | Assets
25 | true
26 | true
27 | Xamarin.Android.Net.AndroidClientHandler
28 |
29 |
30 | True
31 | portable
32 | False
33 | bin\Debug\
34 | DEBUG;TRACE
35 | prompt
36 | 4
37 | True
38 | None
39 | False
40 |
41 |
42 | True
43 | portable
44 | True
45 | bin\Release\
46 | TRACE
47 | prompt
48 | 4
49 | true
50 | False
51 | SdkOnly
52 | True
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 | 8.1.97
98 |
99 |
100 |
101 |
102 | 5.0.0.2083
103 |
104 |
105 |
106 |
107 | {5318E089-F350-418C-9A63-E27A3017D625}
108 | XamarinMultiTenant.Android.Core
109 |
110 |
111 | {e7d29f40-4bc8-4bd9-b78c-af32cfa9159c}
112 | XamarinMultiTenant
113 |
114 |
115 |
116 |
117 |
118 | MSBuild:UpdateGeneratedFiles
119 | Designer
120 |
121 |
122 |
123 |
124 | MSBuild:UpdateGeneratedFiles
125 | Designer
126 |
127 |
128 |
129 |
136 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.Android.TenantC/XamarinMultiTenant.Android.TenantC.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 8.0.30703
7 | 2.0
8 | {E84BDA4A-A18E-455C-80C9-F3B428C346E9}
9 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {122416d6-6b49-4ee2-a1e8-b825f31c79fe}
11 | Library
12 | Properties
13 | XamarinMultiTenant.Android.TenantC
14 | XamarinMultiTenant.Android.TenantC
15 | 512
16 | True
17 | Resources\Resource.designer.cs
18 | Resource
19 | Off
20 | false
21 | v11.0
22 | Properties\AndroidManifest.xml
23 | Resources
24 | Assets
25 | true
26 | true
27 | Xamarin.Android.Net.AndroidClientHandler
28 |
29 |
30 | True
31 | portable
32 | False
33 | bin\Debug\
34 | DEBUG;TRACE
35 | prompt
36 | 4
37 | True
38 | None
39 | False
40 |
41 |
42 | True
43 | portable
44 | True
45 | bin\Release\
46 | TRACE
47 | prompt
48 | 4
49 | true
50 | False
51 | SdkOnly
52 | True
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 | Designer
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 | 8.1.97
101 |
102 |
103 |
104 |
105 | 5.0.0.2083
106 |
107 |
108 |
109 |
110 | MSBuild:UpdateGeneratedFiles
111 | Designer
112 |
113 |
114 |
115 |
116 | MSBuild:UpdateGeneratedFiles
117 | Designer
118 |
119 |
120 |
121 |
122 | {5318e089-f350-418c-9a63-e27a3017d625}
123 | XamarinMultiTenant.Android.Core
124 |
125 |
126 | {e7d29f40-4bc8-4bd9-b78c-af32cfa9159c}
127 | XamarinMultiTenant
128 |
129 |
130 |
131 |
138 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Aa][Rr][Mm]/
27 | [Aa][Rr][Mm]64/
28 | bld/
29 | [Bb]in/
30 | [Oo]bj/
31 | [Ll]og/
32 |
33 | # Visual Studio 2015/2017 cache/options directory
34 | .vs/
35 | # Uncomment if you have tasks that create the project's static files in wwwroot
36 | #wwwroot/
37 |
38 | # Visual Studio 2017 auto generated files
39 | Generated\ Files/
40 |
41 | # MSTest test Results
42 | [Tt]est[Rr]esult*/
43 | [Bb]uild[Ll]og.*
44 |
45 | # NUNIT
46 | *.VisualState.xml
47 | TestResult.xml
48 |
49 | # Build Results of an ATL Project
50 | [Dd]ebugPS/
51 | [Rr]eleasePS/
52 | dlldata.c
53 |
54 | # Benchmark Results
55 | BenchmarkDotNet.Artifacts/
56 |
57 | # .NET Core
58 | project.lock.json
59 | project.fragment.lock.json
60 | artifacts/
61 |
62 | # StyleCop
63 | StyleCopReport.xml
64 |
65 | # Files built by Visual Studio
66 | *_i.c
67 | *_p.c
68 | *_h.h
69 | *.ilk
70 | *.meta
71 | *.obj
72 | *.iobj
73 | *.pch
74 | *.pdb
75 | *.ipdb
76 | *.pgc
77 | *.pgd
78 | *.rsp
79 | *.sbr
80 | *.tlb
81 | *.tli
82 | *.tlh
83 | *.tmp
84 | *.tmp_proj
85 | *_wpftmp.csproj
86 | *.log
87 | *.vspscc
88 | *.vssscc
89 | .builds
90 | *.pidb
91 | *.svclog
92 | *.scc
93 |
94 | # Chutzpah Test files
95 | _Chutzpah*
96 |
97 | # Visual C++ cache files
98 | ipch/
99 | *.aps
100 | *.ncb
101 | *.opendb
102 | *.opensdf
103 | *.sdf
104 | *.cachefile
105 | *.VC.db
106 | *.VC.VC.opendb
107 |
108 | # Visual Studio profiler
109 | *.psess
110 | *.vsp
111 | *.vspx
112 | *.sap
113 |
114 | # Visual Studio Trace Files
115 | *.e2e
116 |
117 | # TFS 2012 Local Workspace
118 | $tf/
119 |
120 | # Guidance Automation Toolkit
121 | *.gpState
122 |
123 | # ReSharper is a .NET coding add-in
124 | _ReSharper*/
125 | *.[Rr]e[Ss]harper
126 | *.DotSettings.user
127 |
128 | # JustCode is a .NET coding add-in
129 | .JustCode
130 |
131 | # TeamCity is a build add-in
132 | _TeamCity*
133 |
134 | # DotCover is a Code Coverage Tool
135 | *.dotCover
136 |
137 | # AxoCover is a Code Coverage Tool
138 | .axoCover/*
139 | !.axoCover/settings.json
140 |
141 | # Visual Studio code coverage results
142 | *.coverage
143 | *.coveragexml
144 |
145 | # NCrunch
146 | _NCrunch_*
147 | .*crunch*.local.xml
148 | nCrunchTemp_*
149 |
150 | # MightyMoose
151 | *.mm.*
152 | AutoTest.Net/
153 |
154 | # Web workbench (sass)
155 | .sass-cache/
156 |
157 | # Installshield output folder
158 | [Ee]xpress/
159 |
160 | # DocProject is a documentation generator add-in
161 | DocProject/buildhelp/
162 | DocProject/Help/*.HxT
163 | DocProject/Help/*.HxC
164 | DocProject/Help/*.hhc
165 | DocProject/Help/*.hhk
166 | DocProject/Help/*.hhp
167 | DocProject/Help/Html2
168 | DocProject/Help/html
169 |
170 | # Click-Once directory
171 | publish/
172 |
173 | # Publish Web Output
174 | *.[Pp]ublish.xml
175 | *.azurePubxml
176 | # Note: Comment the next line if you want to checkin your web deploy settings,
177 | # but database connection strings (with potential passwords) will be unencrypted
178 | *.pubxml
179 | *.publishproj
180 |
181 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
182 | # checkin your Azure Web App publish settings, but sensitive information contained
183 | # in these scripts will be unencrypted
184 | PublishScripts/
185 |
186 | # NuGet Packages
187 | *.nupkg
188 | # The packages folder can be ignored because of Package Restore
189 | **/[Pp]ackages/*
190 | # except build/, which is used as an MSBuild target.
191 | !**/[Pp]ackages/build/
192 | # Uncomment if necessary however generally it will be regenerated when needed
193 | #!**/[Pp]ackages/repositories.config
194 | # NuGet v3's project.json files produces more ignorable files
195 | *.nuget.props
196 | *.nuget.targets
197 |
198 | # Microsoft Azure Build Output
199 | csx/
200 | *.build.csdef
201 |
202 | # Microsoft Azure Emulator
203 | ecf/
204 | rcf/
205 |
206 | # Windows Store app package directories and files
207 | AppPackages/
208 | BundleArtifacts/
209 | Package.StoreAssociation.xml
210 | _pkginfo.txt
211 | *.appx
212 | *.appxbundle
213 | *.appxupload
214 |
215 | # Visual Studio cache files
216 | # files ending in .cache can be ignored
217 | *.[Cc]ache
218 | # but keep track of directories ending in .cache
219 | !?*.[Cc]ache/
220 |
221 | # Others
222 | ClientBin/
223 | ~$*
224 | *~
225 | *.dbmdl
226 | *.dbproj.schemaview
227 | *.jfm
228 | *.pfx
229 | *.publishsettings
230 | orleans.codegen.cs
231 |
232 | # Including strong name files can present a security risk
233 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
234 | #*.snk
235 |
236 | # Since there are multiple workflows, uncomment next line to ignore bower_components
237 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
238 | #bower_components/
239 |
240 | # RIA/Silverlight projects
241 | Generated_Code/
242 |
243 | # Backup & report files from converting an old project file
244 | # to a newer Visual Studio version. Backup files are not needed,
245 | # because we have git ;-)
246 | _UpgradeReport_Files/
247 | Backup*/
248 | UpgradeLog*.XML
249 | UpgradeLog*.htm
250 | ServiceFabricBackup/
251 | *.rptproj.bak
252 |
253 | # SQL Server files
254 | *.mdf
255 | *.ldf
256 | *.ndf
257 |
258 | # Business Intelligence projects
259 | *.rdl.data
260 | *.bim.layout
261 | *.bim_*.settings
262 | *.rptproj.rsuser
263 | *- Backup*.rdl
264 |
265 | # Microsoft Fakes
266 | FakesAssemblies/
267 |
268 | # GhostDoc plugin setting file
269 | *.GhostDoc.xml
270 |
271 | # Node.js Tools for Visual Studio
272 | .ntvs_analysis.dat
273 | node_modules/
274 |
275 | # Visual Studio 6 build log
276 | *.plg
277 |
278 | # Visual Studio 6 workspace options file
279 | *.opt
280 |
281 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
282 | *.vbw
283 |
284 | # Visual Studio LightSwitch build output
285 | **/*.HTMLClient/GeneratedArtifacts
286 | **/*.DesktopClient/GeneratedArtifacts
287 | **/*.DesktopClient/ModelManifest.xml
288 | **/*.Server/GeneratedArtifacts
289 | **/*.Server/ModelManifest.xml
290 | _Pvt_Extensions
291 |
292 | # Paket dependency manager
293 | .paket/paket.exe
294 | paket-files/
295 |
296 | # FAKE - F# Make
297 | .fake/
298 |
299 | # CodeRush personal settings
300 | .cr/personal
301 |
302 | # Python Tools for Visual Studio (PTVS)
303 | __pycache__/
304 | *.pyc
305 |
306 | # Cake - Uncomment if you are using it
307 | # tools/**
308 | # !tools/packages.config
309 |
310 | # Tabs Studio
311 | *.tss
312 |
313 | # Telerik's JustMock configuration file
314 | *.jmconfig
315 |
316 | # BizTalk build output
317 | *.btp.cs
318 | *.btm.cs
319 | *.odx.cs
320 | *.xsd.cs
321 |
322 | # OpenCover UI analysis results
323 | OpenCover/
324 |
325 | # Azure Stream Analytics local run output
326 | ASALocalRun/
327 |
328 | # MSBuild Binary and Structured Log
329 | *.binlog
330 |
331 | # NVidia Nsight GPU debugger configuration file
332 | *.nvuser
333 |
334 | # MFractors (Xamarin productivity tool) working folder
335 | .mfractor/
336 |
337 | # Local History for Visual Studio
338 | .localhistory/
339 |
340 | # BeatPulse healthcheck temp database
341 | healthchecksdb
342 |
343 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
344 | MigrationBackup/
345 |
346 | ##
347 | ## Visual studio for Mac
348 | ##
349 |
350 |
351 | # globs
352 | Makefile.in
353 | *.userprefs
354 | *.usertasks
355 | config.make
356 | config.status
357 | aclocal.m4
358 | install-sh
359 | autom4te.cache/
360 | *.tar.gz
361 | tarballs/
362 | test-results/
363 |
364 | # Mac bundle stuff
365 | *.dmg
366 | *.app
367 |
368 | # content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
369 | # General
370 | .DS_Store
371 | .AppleDouble
372 | .LSOverride
373 |
374 | # Icon must end with two \r
375 | Icon
376 |
377 |
378 | # Thumbnails
379 | ._*
380 |
381 | # Files that might appear in the root of a volume
382 | .DocumentRevisions-V100
383 | .fseventsd
384 | .Spotlight-V100
385 | .TemporaryItems
386 | .Trashes
387 | .VolumeIcon.icns
388 | .com.apple.timemachine.donotpresent
389 |
390 | # Directories potentially created on remote AFP share
391 | .AppleDB
392 | .AppleDesktop
393 | Network Trash Folder
394 | Temporary Items
395 | .apdisk
396 |
397 | # content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
398 | # Windows thumbnail cache files
399 | Thumbs.db
400 | ehthumbs.db
401 | ehthumbs_vista.db
402 |
403 | # Dump file
404 | *.stackdump
405 |
406 | # Folder config file
407 | [Dd]esktop.ini
408 |
409 | # Recycle Bin used on file shares
410 | $RECYCLE.BIN/
411 |
412 | # Windows Installer files
413 | *.cab
414 | *.msi
415 | *.msix
416 | *.msm
417 | *.msp
418 |
419 | # Windows shortcuts
420 | *.lnk
421 |
422 | # JetBrains Rider
423 | .idea/
424 | *.sln.iml
425 |
426 | ##
427 | ## Visual Studio Code
428 | ##
429 | .vscode/*
430 | !.vscode/settings.json
431 | !.vscode/tasks.json
432 | !.vscode/launch.json
433 | !.vscode/extensions.json
434 |
--------------------------------------------------------------------------------
/XamarinMultiTenant.iOS/XamarinMultiTenant.iOS.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | 8.0.30703
7 | 2.0
8 | {B7B5CCF1-53F3-44DF-886B-42DAD25F3C99}
9 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | Exe
11 | XamarinMultiTenant.iOS
12 | Resources
13 | XamarinMultiTenant.iOS
14 |
15 |
16 |
17 |
18 | true
19 | full
20 | false
21 | bin\iPhoneSimulator\Debug
22 | DEBUG
23 | prompt
24 | 4
25 | false
26 | i386, x86_64
27 | None
28 | true
29 |
30 |
31 | none
32 | true
33 | bin\iPhoneSimulator\Release
34 | prompt
35 | 4
36 | None
37 | i386, x86_64
38 | false
39 |
40 |
41 | true
42 | full
43 | false
44 | bin\iPhone\Debug
45 | DEBUG
46 | prompt
47 | 4
48 | false
49 | ARM64
50 | iPhone Developer
51 | true
52 | Entitlements.plist
53 |
54 |
55 | none
56 | true
57 | bin\iPhone\Release
58 | prompt
59 | 4
60 | ARM64
61 | false
62 | iPhone Developer
63 | Entitlements.plist
64 |
65 |
66 | none
67 | True
68 | bin\iPhone\Ad-Hoc
69 | prompt
70 | 4
71 | False
72 | ARM64
73 | True
74 | Automatic:AdHoc
75 | iPhone Distribution
76 | Entitlements.plist
77 |
78 |
79 | none
80 | True
81 | bin\iPhone\AppStore
82 | prompt
83 | 4
84 | False
85 | ARM64
86 | Automatic:AppStore
87 | iPhone Distribution
88 | Entitlements.plist
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 | false
103 |
104 |
105 | false
106 |
107 |
108 | false
109 |
110 |
111 | false
112 |
113 |
114 | false
115 |
116 |
117 | false
118 |
119 |
120 | false
121 |
122 |
123 | false
124 |
125 |
126 | false
127 |
128 |
129 | false
130 |
131 |
132 | false
133 |
134 |
135 | false
136 |
137 |
138 | false
139 |
140 |
141 | false
142 |
143 |
144 | false
145 |
146 |
147 | false
148 |
149 |
150 | false
151 |
152 |
153 | false
154 |
155 |
156 | false
157 |
158 |
159 | false
160 |
161 |
162 | false
163 |
164 |
165 | false
166 |
167 |
168 | false
169 |
170 |
171 | false
172 |
173 |
174 | false
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 | 1.7.0
194 |
195 |
196 |
197 |
198 | 5.0.0.2083
199 |
200 |
201 |
202 |
203 | {281c7618-d4fd-4ac3-acc2-96c10a2355d1}
204 | XamarinMultiTenant.iOS.Core
205 | false
206 | false
207 |
208 |
209 | {A682884C-CB44-4A89-B752-27BB634E0ABE}
210 | XamarinMultiTenant
211 |
212 |
213 |
214 |
--------------------------------------------------------------------------------