├── README.md
├── images
├── Xam1.png
├── Xam2.png
├── Blazor1.PNG
├── Blazor2.PNG
└── BlazorXamarin.jpg
├── BlazXam
├── MSC.BlazXam.Blazor
│ ├── Pages
│ │ ├── Index.razor
│ │ ├── _Host.cshtml
│ │ ├── Error.razor
│ │ ├── CurrentWeather.razor
│ │ └── Cities.razor
│ ├── wwwroot
│ │ ├── favicon.ico
│ │ └── css
│ │ │ ├── open-iconic
│ │ │ ├── font
│ │ │ │ ├── fonts
│ │ │ │ │ ├── open-iconic.eot
│ │ │ │ │ ├── open-iconic.otf
│ │ │ │ │ ├── open-iconic.ttf
│ │ │ │ │ └── open-iconic.woff
│ │ │ │ └── css
│ │ │ │ │ └── open-iconic-bootstrap.min.css
│ │ │ ├── ICON-LICENSE
│ │ │ ├── README.md
│ │ │ └── FONT-LICENSE
│ │ │ └── site.css
│ ├── appsettings.Development.json
│ ├── appsettings.json
│ ├── Shared
│ │ ├── MainLayout.razor
│ │ └── NavMenu.razor
│ ├── _Imports.razor
│ ├── App.razor
│ ├── MSC.BlazXam.Blazor.csproj
│ ├── Program.cs
│ └── Startup.cs
├── MSC.BlazXam.Xam
│ ├── MSC.BlazXam.Xam
│ │ ├── AssemblyInfo.cs
│ │ ├── AppShell.xaml.cs
│ │ ├── Services
│ │ │ ├── IDataStore.cs
│ │ │ ├── APIDataStore.cs
│ │ │ └── MockDataStore.cs
│ │ ├── Models
│ │ │ └── Item.cs
│ │ ├── ViewModels
│ │ │ ├── AboutViewModel.cs
│ │ │ ├── ItemDetailViewModel.cs
│ │ │ ├── BaseViewModel.cs
│ │ │ └── ItemsViewModel.cs
│ │ ├── App.xaml
│ │ ├── Views
│ │ │ ├── AboutPage.xaml.cs
│ │ │ ├── ItemDetailPage.xaml.cs
│ │ │ ├── ItemsPage.xaml.cs
│ │ │ ├── ItemDetailPage.xaml
│ │ │ ├── ItemsPage.xaml
│ │ │ └── AboutPage.xaml
│ │ ├── App.xaml.cs
│ │ ├── MSC.BlazXam.Xam.csproj
│ │ ├── ViewModelsDesign
│ │ │ └── ItemsViewModelDesign.cs
│ │ └── AppShell.xaml
│ ├── MSC.BlazXam.Xam.iOS
│ │ ├── Resources
│ │ │ ├── Default.png
│ │ │ ├── Default@2x.png
│ │ │ ├── tab_about.png
│ │ │ ├── tab_feed.png
│ │ │ ├── tab_about@2x.png
│ │ │ ├── tab_about@3x.png
│ │ │ ├── tab_feed@2x.png
│ │ │ ├── tab_feed@3x.png
│ │ │ ├── xamarin_logo.png
│ │ │ ├── Default-568h@2x.png
│ │ │ ├── xamarin_logo@2x.png
│ │ │ ├── xamarin_logo@3x.png
│ │ │ ├── Default-Portrait.png
│ │ │ ├── Default-Portrait@2x.png
│ │ │ └── LaunchScreen.storyboard
│ │ ├── 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
│ │ ├── Info.plist
│ │ ├── Properties
│ │ │ └── AssemblyInfo.cs
│ │ └── MSC.BlazXam.Xam.iOS.csproj
│ └── MSC.BlazXam.Xam.Android
│ │ ├── Resources
│ │ ├── mipmap-hdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-mdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── drawable
│ │ │ ├── tab_about.png
│ │ │ ├── tab_feed.png
│ │ │ └── xamarin_logo.png
│ │ ├── mipmap-xhdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-xxhdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-xxxhdpi
│ │ │ ├── icon.png
│ │ │ └── launcher_foreground.png
│ │ ├── mipmap-anydpi-v26
│ │ │ ├── icon.xml
│ │ │ └── icon_round.xml
│ │ ├── values
│ │ │ ├── colors.xml
│ │ │ └── styles.xml
│ │ ├── layout
│ │ │ ├── Toolbar.xml
│ │ │ └── Tabbar.xml
│ │ └── AboutResources.txt
│ │ ├── Properties
│ │ ├── AndroidManifest.xml
│ │ └── AssemblyInfo.cs
│ │ ├── Assets
│ │ └── AboutAssets.txt
│ │ ├── MainActivity.cs
│ │ └── MSC.BlazXam.Xam.Android.csproj
├── MSC.BlazXam.Config
│ ├── MSC.BlazXam.Config.csproj
│ └── Config.cs
├── MSC.BlazXam.Models
│ ├── MSC.BlazXam.Models.csproj
│ ├── DMA.cs
│ ├── Elevation.cs
│ ├── Temperature.cs
│ ├── Metric.cs
│ ├── Imperial.cs
│ ├── Country.cs
│ ├── Region.cs
│ ├── Source.cs
│ ├── GeoPosition.cs
│ ├── TimeZone.cs
│ ├── AdministrativeArea.cs
│ ├── AccuWeatherCurrentConditModel.cs
│ ├── AccuWeatherTopCitiesModel.cs
│ └── Details.cs
├── MSC.BlazXam.BizLogic
│ ├── MSC.BlazXam.BizLogic.csproj
│ └── HTTPClientService.cs
├── MSC.BlazXam.BizLogicTest
│ ├── MSC.BlazXam.BizLogicTest.csproj
│ └── TestHTTPClientService.cs
└── MSC.BlazXam.Blaz.sln
├── .gitignore
└── LICENSE
/README.md:
--------------------------------------------------------------------------------
1 | # BlazXamPub
2 | Blazor Xamarin Code Sharing project
3 |
--------------------------------------------------------------------------------
/images/Xam1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/images/Xam1.png
--------------------------------------------------------------------------------
/images/Xam2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/images/Xam2.png
--------------------------------------------------------------------------------
/images/Blazor1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/images/Blazor1.PNG
--------------------------------------------------------------------------------
/images/Blazor2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/images/Blazor2.PNG
--------------------------------------------------------------------------------
/images/BlazorXamarin.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/images/BlazorXamarin.jpg
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Pages/Index.razor:
--------------------------------------------------------------------------------
1 | @page "/"
2 |
3 |
Hello, world!
4 |
5 | Welcome to your new app.
6 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using Xamarin.Forms.Xaml;
2 |
3 | [assembly: XamlCompilation(XamlCompilationOptions.Compile)]
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Blazor/wwwroot/favicon.ico
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default@2x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_about.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_feed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_feed.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_about@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_about@2x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_about@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_about@3x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_feed@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_feed@2x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_feed@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/tab_feed@3x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/xamarin_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/xamarin_logo.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default-568h@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default-568h@2x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/xamarin_logo@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/xamarin_logo@2x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/xamarin_logo@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/xamarin_logo@3x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default-Portrait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default-Portrait.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.eot
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.otf
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/fonts/open-iconic.woff
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Config/MSC.BlazXam.Config.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/MSC.BlazXam.Models.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-hdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-hdpi/icon.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-mdpi/icon.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default-Portrait@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Resources/Default-Portrait@2x.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/drawable/tab_about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/drawable/tab_about.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/drawable/tab_feed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/drawable/tab_feed.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xhdpi/icon.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxhdpi/icon.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/drawable/xamarin_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/drawable/xamarin_logo.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxxhdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxxhdpi/icon.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Debug",
5 | "System": "Information",
6 | "Microsoft": "Information"
7 | }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon120.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon152.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon167.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon180.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon20.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon29.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon40.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon58.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon60.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon76.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon80.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon87.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-hdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-hdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-mdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-mdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Assets.xcassets/AppIcon.appiconset/Icon1024.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/robintschroeder/BlazXamPub/HEAD/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/appsettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "Logging": {
3 | "LogLevel": {
4 | "Default": "Information",
5 | "Microsoft": "Warning",
6 | "Microsoft.Hosting.Lifetime": "Information"
7 | }
8 | },
9 | "AllowedHosts": "*"
10 | }
11 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/DMA.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class DMA
8 | {
9 | public string EnglishName { get; set; }
10 | public string ID { get; set; }
11 | }
12 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Elevation.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Elevation
8 | {
9 | public Imperial Imperial { get; set; }
10 | public Metric Metric { get; set; }
11 | }
12 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Temperature.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Temperature
8 | {
9 | public Imperial Imperial { get; set; }
10 | public Metric Metric { get; set; }
11 | }
12 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Config/Config.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSC.BlazXam
4 | {
5 | public static class Config
6 | {
7 | // Sign up here to get a free API key for AccuWeather
8 | // https://developer.accuweather.com/
9 | public const string AccuWeatherKey = "{PUT-YOUR-KEY-RIGHT-HERE}";
10 | }
11 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Metric.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Metric
8 | {
9 | public string Unit { get; set; }
10 | public int UnitType { get; set; }
11 | public double Value { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Imperial.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Imperial
8 | {
9 | public string Unit { get; set; }
10 | public int UnitType { get; set; }
11 | public double Value { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-anydpi-v26/icon.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/mipmap-anydpi-v26/icon_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 | #3F51B5
5 | #303F9F
6 | #FF4081
7 |
8 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Country.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Country
8 | {
9 | public string EnglishName { get; set; }
10 | public string ID { get; set; }
11 | public string LocalizedName { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Region.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Region
8 | {
9 | public string EnglishName { get; set; }
10 | public string ID { get; set; }
11 | public string LocalizedName { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Source.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Source
8 | {
9 | public string DataType { get; set; }
10 |
11 | //public string Source { get; set; }
12 | public int SourceId { get; set; }
13 | }
14 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/GeoPosition.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class GeoPosition
8 | {
9 | public Elevation Elevation { get; set; }
10 | public double Latitude { get; set; }
11 | public double Longitude { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/AppShell.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | using Xamarin.Forms;
5 |
6 | namespace MSC.BlazXam.Xam
7 | {
8 | public partial class AppShell : Xamarin.Forms.Shell
9 | {
10 | public AppShell()
11 | {
12 | InitializeComponent();
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Services/IDataStore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Threading.Tasks;
4 |
5 | namespace MSC.BlazXam.Xam.Services
6 | {
7 | public interface IDataStore
8 | {
9 | Task GetItemAsync(string id);
10 |
11 | Task> GetItemsAsync(bool forceRefresh = false);
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Shared/MainLayout.razor:
--------------------------------------------------------------------------------
1 | @inherits LayoutComponentBase
2 |
3 |
6 |
7 |
8 |
11 |
12 |
13 | @Body
14 |
15 |
16 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/_Imports.razor:
--------------------------------------------------------------------------------
1 | @using System.Net.Http
2 | @using Microsoft.AspNetCore.Authorization
3 | @using Microsoft.AspNetCore.Components.Authorization
4 | @using Microsoft.AspNetCore.Components.Forms
5 | @using Microsoft.AspNetCore.Components.Routing
6 | @using Microsoft.AspNetCore.Components.Web
7 | @using Microsoft.JSInterop
8 | @using MSC.BlazXam.Blazor
9 | @using MSC.BlazXam.Blazor.Shared
10 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/App.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Sorry, there's nothing at this address.
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/TimeZone.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class TimeZone
8 | {
9 | public string Code { get; set; }
10 | public double GmtOffset { get; set; }
11 | public bool IsDaylightSaving { get; set; }
12 | public string Name { get; set; }
13 | public DateTime? NextOffsetChange { get; set; }
14 | }
15 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Models/Item.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace MSC.BlazXam.Xam.Models
4 | {
5 | public class Item
6 | {
7 | public string City { get; set; }
8 | public string CityDetails { get { return $"{City} - Population: {String.Format("{0:n0}", Population)}"; } }
9 | public string Country { get; set; }
10 | public string Id { get; set; }
11 | public int Population { get; set; }
12 | }
13 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/layout/Toolbar.xml:
--------------------------------------------------------------------------------
1 |
9 |
10 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/MSC.BlazXam.Blazor.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/ViewModels/AboutViewModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Input;
3 |
4 | using Xamarin.Forms;
5 |
6 | namespace MSC.BlazXam.Xam.ViewModels
7 | {
8 | public class AboutViewModel : BaseViewModel
9 | {
10 | public AboutViewModel()
11 | {
12 | Title = "About";
13 |
14 | OpenWebCommand = new Command(() => Device.OpenUri(new Uri("https://xamarin.com/platform")));
15 | }
16 |
17 | public ICommand OpenWebCommand { get; }
18 | }
19 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.BizLogic/MSC.BlazXam.BizLogic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Views/AboutPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel;
3 | using Xamarin.Forms;
4 | using Xamarin.Forms.Xaml;
5 |
6 | namespace MSC.BlazXam.Xam.Views
7 | {
8 | // Learn more about making custom code visible in the Xamarin.Forms previewer
9 | // by visiting https://aka.ms/xamarinforms-previewer
10 | [DesignTimeVisible(false)]
11 | public partial class AboutPage : ContentPage
12 | {
13 | public AboutPage()
14 | {
15 | InitializeComponent();
16 | }
17 | }
18 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/AdministrativeArea.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class AdministrativeArea
8 | {
9 | public string CountryID { get; set; }
10 | public string EnglishName { get; set; }
11 | public string EnglishType { get; set; }
12 | public string ID { get; set; }
13 | public int Level { get; set; }
14 | public string LocalizedName { get; set; }
15 | public string LocalizedType { get; set; }
16 | }
17 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace MSC.BlazXam.Xam.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/layout/Tabbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Pages/_Host.cshtml:
--------------------------------------------------------------------------------
1 | @page "/"
2 | @namespace MSC.BlazXam.Blazor.Pages
3 | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
4 |
5 |
6 |
7 |
8 |
9 |
10 | MSC.BlazXam.Blazor
11 |
12 |
13 |
14 |
15 |
16 |
17 | @(await Html.RenderComponentAsync(RenderMode.ServerPrerendered))
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.BizLogicTest/MSC.BlazXam.BizLogicTest.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.0
5 |
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.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 your 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 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/AccuWeatherCurrentConditModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class AccuWeatherCurrentConditModel
8 | {
9 | public int EpochTime { get; set; }
10 | public bool HasPrecipitation { get; set; }
11 | public bool IsDayTime { get; set; }
12 | public string Link { get; set; }
13 | public DateTime LocalObservationDateTime { get; set; }
14 | public string MobileLink { get; set; }
15 | public object PrecipitationType { get; set; }
16 | public Temperature Temperature { get; set; }
17 | public int WeatherIcon { get; set; }
18 | public string WeatherText { get; set; }
19 | }
20 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Pages/Error.razor:
--------------------------------------------------------------------------------
1 | @page "/error"
2 |
3 |
4 | Error.
5 | An error occurred while processing your request.
6 |
7 | Development Mode
8 |
9 | Swapping to Development environment will display more detailed information about the error that occurred.
10 |
11 |
12 | The Development environment shouldn't be enabled for deployed applications.
13 | It can result in displaying sensitive information from exceptions to end users.
14 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development
15 | and restarting the app.
16 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Xamarin.Forms;
3 | using Xamarin.Forms.Xaml;
4 | using MSC.BlazXam.Xam.Services;
5 | using MSC.BlazXam.Xam.Views;
6 |
7 | namespace MSC.BlazXam.Xam
8 | {
9 | public partial class App : Application
10 | {
11 | public App()
12 | {
13 | InitializeComponent();
14 |
15 | DependencyService.Register();
16 | MainPage = new AppShell();
17 | }
18 |
19 | protected override void OnResume()
20 | {
21 | // Handle when your app resumes
22 | }
23 |
24 | protected override void OnSleep()
25 | {
26 | // Handle when your app sleeps
27 | }
28 |
29 | protected override void OnStart()
30 | {
31 | // Handle when your app starts
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Threading.Tasks;
6 | using Microsoft.AspNetCore;
7 | using Microsoft.AspNetCore.Hosting;
8 | using Microsoft.Extensions.Configuration;
9 | using Microsoft.Extensions.Hosting;
10 | using Microsoft.Extensions.Logging;
11 |
12 | namespace MSC.BlazXam.Blazor
13 | {
14 | public class Program
15 | {
16 | public static void Main(string[] args)
17 | {
18 | CreateHostBuilder(args).Build().Run();
19 | }
20 |
21 | public static IHostBuilder CreateHostBuilder(string[] args) =>
22 | Host.CreateDefaultBuilder(args)
23 | .ConfigureWebHostDefaults(webBuilder =>
24 | {
25 | webBuilder.UseStartup();
26 | });
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/AccuWeatherTopCitiesModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class AccuWeatherTopCitiesModel
8 | {
9 | public AdministrativeArea AdministrativeArea { get; set; }
10 | public Country Country { get; set; }
11 | public List DataSets { get; set; }
12 | public Details Details { get; set; }
13 | public string EnglishName { get; set; }
14 | public GeoPosition GeoPosition { get; set; }
15 | public bool IsAlias { get; set; }
16 | public string Key { get; set; }
17 | public string LocalizedName { get; set; }
18 | public string PrimaryPostalCode { get; set; }
19 | public int Rank { get; set; }
20 | public Region Region { get; set; }
21 | public List SupplementalAdminAreas { get; set; }
22 | public TimeZone TimeZone { get; set; }
23 | public string Type { get; set; }
24 | public int Version { get; set; }
25 | }
26 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Shared/NavMenu.razor:
--------------------------------------------------------------------------------
1 |
7 |
8 |
23 |
24 | @code {
25 | bool collapseNavMenu = true;
26 |
27 | string NavMenuCssClass => collapseNavMenu ? "collapse" : null;
28 |
29 | void ToggleNavMenu()
30 | {
31 | collapseNavMenu = !collapseNavMenu;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.BizLogicTest/TestHTTPClientService.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.VisualStudio.TestTools.UnitTesting;
2 | using System.Threading.Tasks;
3 |
4 | namespace MSC.BlazXam.BizLogicTest
5 | {
6 | [TestClass]
7 | public class TestHTTPClientService
8 | {
9 | [TestCleanup]
10 | public void Cleanup()
11 | {
12 | }
13 |
14 | [TestInitialize]
15 | public void Setup()
16 | {
17 | }
18 |
19 | [TestMethod]
20 | public async Task TestGetAccuWeatherCurrentWeatherData()
21 | {
22 | //locationId = 349727 - should be new york
23 | var reply = await MSC.BlazXam.BizLogic.HTTPClientService.GetAccuWeatherCurrentConditionsDataAsync("349727");
24 |
25 | Assert.AreEqual(true, !string.IsNullOrEmpty(reply.Link));
26 | }
27 |
28 | [TestMethod]
29 | public async Task TestGetAccuWeatherTopCitiesData()
30 | {
31 | var reply = await MSC.BlazXam.BizLogic.HTTPClientService.GetAccuWeatherTopCitiesDataAsync();
32 |
33 | Assert.AreEqual(true, reply.Count == 50);
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Services/APIDataStore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using MSC.BlazXam.BizLogic;
6 | using MSC.BlazXam.Xam.Models;
7 |
8 | namespace MSC.BlazXam.Xam.Services
9 | {
10 | public class APIDataStore : IDataStore-
11 | {
12 | Task
- IDataStore
- .GetItemAsync(string id)
13 | {
14 | throw new NotImplementedException();
15 | }
16 |
17 | async Task
> IDataStore- .GetItemsAsync(bool forceRefresh)
18 | {
19 | var items = new List
- ();
20 |
21 | var topCities = await HTTPClientService.GetAccuWeatherTopCitiesDataAsync();
22 | foreach (var city in topCities)
23 | {
24 | items.Add(new Item()
25 | {
26 | Id = city.Key,
27 | City = city.EnglishName,
28 | Country = city.Country.EnglishName,
29 | Population = city.Details.Population
30 | });
31 | }
32 |
33 | return items;
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/ICON-LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Waybury
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
13 | all 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
21 | THE SOFTWARE.
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Views/ItemDetailPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel;
3 | using Xamarin.Forms;
4 | using Xamarin.Forms.Xaml;
5 |
6 | using MSC.BlazXam.Xam.Models;
7 | using MSC.BlazXam.Xam.ViewModels;
8 |
9 | namespace MSC.BlazXam.Xam.Views
10 | {
11 | // Learn more about making custom code visible in the Xamarin.Forms previewer
12 | // by visiting https://aka.ms/xamarinforms-previewer
13 | [DesignTimeVisible(false)]
14 | public partial class ItemDetailPage : ContentPage
15 | {
16 | private ItemDetailViewModel viewModel = new ItemDetailViewModel();
17 |
18 | public ItemDetailPage(string id, string city, string country)
19 | {
20 | InitializeComponent();
21 | viewModel.Init(id, city, country);
22 | BindingContext = viewModel;
23 | }
24 |
25 | public ItemDetailPage()
26 | {
27 | InitializeComponent();
28 | viewModel.Init("349727", "New York", "United States");
29 | BindingContext = viewModel;
30 | }
31 |
32 | protected override void OnAppearing()
33 | {
34 | base.OnAppearing();
35 | }
36 | }
37 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Services/MockDataStore.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using MSC.BlazXam.Xam.Models;
6 |
7 | namespace MSC.BlazXam.Xam.Services
8 | {
9 | public class MockDataStore : IDataStore
-
10 | {
11 | private List
- items;
12 |
13 | public MockDataStore()
14 | {
15 | items = new List
- ();
16 | var mockItems = new List
-
17 | {
18 | new Item() { Id = "123456", City = "New York", Country = "United States" },
19 | new Item() { Id = "789456", City = "Paris", Country = "France" }
20 | };
21 |
22 | foreach (var item in mockItems)
23 | {
24 | items.Add(item);
25 | }
26 | }
27 |
28 | public async Task
- GetItemAsync(string id)
29 | {
30 | return await Task.FromResult(items.FirstOrDefault(s => s.Id == id));
31 | }
32 |
33 | public async Task
> GetItemsAsync(bool forceRefresh = false)
34 | {
35 | return await Task.FromResult(items);
36 | }
37 | }
38 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | MSBuild:Compile
21 |
22 |
23 | MSBuild:Compile
24 |
25 |
26 | MSBuild:Compile
27 |
28 |
29 | MSBuild:Compile
30 |
31 |
32 | MSBuild:Compile
33 |
34 |
35 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/ViewModels/ItemDetailViewModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using MSC.BlazXam.Models;
3 | using MSC.BlazXam.Xam.Models;
4 |
5 | namespace MSC.BlazXam.Xam.ViewModels
6 | {
7 | public class ItemDetailViewModel : BaseViewModel
8 | {
9 | private string city;
10 | private string country;
11 | private AccuWeatherCurrentConditModel currentWeather;
12 |
13 | public ItemDetailViewModel()
14 | {
15 | }
16 |
17 | public string City
18 | {
19 | get { return city; }
20 | set { SetProperty(ref city, value); }
21 | }
22 |
23 | public string Country
24 | {
25 | get { return country; }
26 | set { SetProperty(ref country, value); }
27 | }
28 |
29 | public AccuWeatherCurrentConditModel CurrentWeather
30 | {
31 | get { return currentWeather; }
32 | set { SetProperty(ref currentWeather, value); }
33 | }
34 |
35 | public async void Init(string id, string city, string country)
36 | {
37 | CurrentWeather = await MSC.BlazXam.BizLogic.HTTPClientService.GetAccuWeatherCurrentConditionsDataAsync(id);
38 | City = city;
39 | Country = country;
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/AppDelegate.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace MSC.BlazXam.Xam.iOS
9 | {
10 | // The UIApplicationDelegate for the application. This class is responsible for launching the
11 | // User Interface of the application, as well as listening (and optionally responding) to
12 | // application events from iOS.
13 | [Register("AppDelegate")]
14 | public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
15 | {
16 | //
17 | // This method is invoked when the application has loaded and is ready to run. In this
18 | // method you should instantiate the window, load the UI into it and then make the window
19 | // visible.
20 | //
21 | // You have 17 seconds to return from this method, or iOS will terminate your application.
22 | //
23 | public override bool FinishedLaunching(UIApplication app, NSDictionary options)
24 | {
25 | global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
26 | global::Xamarin.Forms.Forms.Init();
27 | LoadApplication(new App());
28 |
29 | return base.FinishedLaunching(app, options);
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Models/Details.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace MSC.BlazXam.Models
6 | {
7 | public class Details
8 | {
9 | public string BandMap { get; set; }
10 | public string CanonicalLocationKey { get; set; }
11 | public string CanonicalPostalCode { get; set; }
12 | public string Climo { get; set; }
13 | public DMA DMA { get; set; }
14 | public string Key { get; set; }
15 | public string LocalRadar { get; set; }
16 | public string LocationStem { get; set; }
17 | public string MarineStation { get; set; }
18 | public double? MarineStationGMTOffset { get; set; }
19 | public string MediaRegion { get; set; }
20 | public string Metar { get; set; }
21 | public string NXMetro { get; set; }
22 | public string NXState { get; set; }
23 | public string PartnerID { get; set; }
24 | public int Population { get; set; }
25 | public string PrimaryWarningCountyCode { get; set; }
26 | public string PrimaryWarningZoneCode { get; set; }
27 | public string Satellite { get; set; }
28 | public List Sources { get; set; }
29 | public string StationCode { get; set; }
30 | public double StationGmtOffset { get; set; }
31 | public string Synoptic { get; set; }
32 | public string VideoCode { get; set; }
33 | }
34 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Pages/CurrentWeather.razor:
--------------------------------------------------------------------------------
1 | @page "/currentweather/{id}/{cityname}/{countryname}"
2 | @using MSC.BlazXam.BizLogic
3 | @using MSC.BlazXam.Models
4 |
5 | Current Weather Conditions
6 |
7 | @if (weather == null)
8 | {
9 | Loading...
10 | }
11 | else if (weather.WeatherText == null)
12 | {
13 | Error... we couldn't find the city you are looking for!
14 | }
15 | else
16 | {
17 | @CityName, @CountryName
18 |
19 |
20 |
21 | Current Weather: @weather.WeatherText
22 |
23 |
24 | Current Temp (Metric): @weather.Temperature.Metric.Value @weather.Temperature.Metric.Unit
25 |
26 |
27 | Current Temp (Imperial): @weather.Temperature.Imperial.Value @weather.Temperature.Imperial.Unit
28 |
29 |
30 |
31 | }
32 |
33 | @code {
34 |
35 | [Parameter]
36 | public string Id { get; set; }
37 | [Parameter]
38 | public string CityName { get; set; }
39 | [Parameter]
40 | public string CountryName { get; set; }
41 |
42 | AccuWeatherCurrentConditModel weather;
43 |
44 | protected override async Task OnInitializedAsync()
45 | {
46 | weather = (await HTTPClientService.GetAccuWeatherCurrentConditionsDataAsync(Id));
47 | }
48 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using Android.App;
5 |
6 | // General Information about an assembly is controlled through the following
7 | // set of attributes. Change these attribute values to modify the information
8 | // associated with an assembly.
9 | [assembly: AssemblyTitle("MSC.BlazXam.Xam.Android")]
10 | [assembly: AssemblyDescription("")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("")]
13 | [assembly: AssemblyProduct("MSC.BlazXam.Xam.Android")]
14 | [assembly: AssemblyCopyright("Copyright © 2014")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 | [assembly: ComVisible(false)]
18 |
19 | // Version information for an assembly consists of the following four values:
20 | //
21 | // Major Version
22 | // Minor Version
23 | // Build Number
24 | // Revision
25 | //
26 | // You can specify all the values or you can default the Build and Revision Numbers
27 | // by using the '*' as shown below:
28 | // [assembly: AssemblyVersion("1.0.*")]
29 | [assembly: AssemblyVersion("1.0.0.0")]
30 | [assembly: AssemblyFileVersion("1.0.0.0")]
31 |
32 | // Add some common permissions, these can be removed if not needed
33 | [assembly: UsesPermission(Android.Manifest.Permission.Internet)]
34 | [assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
35 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Pages/Cities.razor:
--------------------------------------------------------------------------------
1 | @page "/cities"
2 | @using MSC.BlazXam.BizLogic
3 | @using MSC.BlazXam.Models
4 |
5 | Cities
6 |
7 | @if (cities == null)
8 | {
9 | Loading...
10 | }
11 | else if (!cities.Any())
12 | {
13 |
14 | Error... try again later!
15 | (Free key is limited to 50 calls per day)
16 |
17 | }
18 | else
19 | {
20 |
21 |
22 |
23 | City
24 | Country
25 | Population
26 |
27 |
28 |
29 | @foreach (var city in cities)
30 | {
31 |
32 | @city.EnglishName
33 | @city.Country.EnglishName
34 | @String.Format("{0:n0}", city.Details.Population)
35 |
36 | Current Weather Conditions
37 |
38 | }
39 |
40 |
41 | }
42 |
43 | @code {
44 | AccuWeatherTopCitiesModel[] cities;
45 |
46 | protected override async Task OnInitializedAsync()
47 | {
48 | cities = (await HTTPClientService.GetAccuWeatherTopCitiesDataAsync()).ToArray();
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/MainActivity.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | using Android.App;
4 | using Android.Content.PM;
5 | using Android.Runtime;
6 | using Android.Views;
7 | using Android.Widget;
8 | using Android.OS;
9 |
10 | namespace MSC.BlazXam.Xam.Droid
11 | {
12 | [Activity(Label = "MSC.BlazXam.Xam", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
13 | public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
14 | {
15 | protected override void OnCreate(Bundle savedInstanceState)
16 | {
17 | TabLayoutResource = Resource.Layout.Tabbar;
18 | ToolbarResource = Resource.Layout.Toolbar;
19 |
20 | base.OnCreate(savedInstanceState);
21 |
22 | global::Xamarin.Forms.Forms.SetFlags("CollectionView_Experimental");
23 | Xamarin.Essentials.Platform.Init(this, savedInstanceState);
24 | global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
25 | LoadApplication(new App());
26 | }
27 | public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Android.Content.PM.Permission[] grantResults)
28 | {
29 | Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
30 |
31 | base.OnRequestPermissionsResult(requestCode, permissions, grantResults);
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.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 | MSC.BlazXam.Xam
27 | CFBundleIdentifier
28 | com.companyname.MSC.BlazXam.Xam
29 | CFBundleVersion
30 | 1.0
31 | UILaunchStoryboardName
32 | LaunchScreen
33 | CFBundleName
34 | MSC.BlazXam.Xam
35 | XSAppIconAssets
36 | Assets.xcassets/AppIcon.appiconset
37 |
38 |
39 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/Resources/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
26 |
27 |
30 |
31 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Views/ItemsPage.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.ComponentModel;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using Xamarin.Forms;
8 | using Xamarin.Forms.Xaml;
9 |
10 | using MSC.BlazXam.Xam.Models;
11 | using MSC.BlazXam.Xam.Views;
12 | using MSC.BlazXam.Xam.ViewModels;
13 |
14 | namespace MSC.BlazXam.Xam.Views
15 | {
16 | // Learn more about making custom code visible in the Xamarin.Forms previewer
17 | // by visiting https://aka.ms/xamarinforms-previewer
18 | [DesignTimeVisible(false)]
19 | public partial class ItemsPage : ContentPage
20 | {
21 | private ItemsViewModel viewModel;
22 |
23 | public ItemsPage()
24 | {
25 | InitializeComponent();
26 |
27 | BindingContext = viewModel = new ItemsViewModel();
28 | }
29 |
30 | protected override void OnAppearing()
31 | {
32 | base.OnAppearing();
33 |
34 | if (viewModel.Items.Count == 0)
35 | viewModel.LoadItemsCommand.Execute(null);
36 | }
37 |
38 | private async void OnItemSelected(object sender, SelectedItemChangedEventArgs args)
39 | {
40 | var item = args.SelectedItem as Item;
41 | if (item == null)
42 | return;
43 |
44 | await Navigation.PushAsync(new ItemDetailPage(item.Id, item.City, item.Country));
45 |
46 | // Manually deselect item.
47 | ItemsListView.SelectedItem = null;
48 | }
49 | }
50 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/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("MSC.BlazXam.Xam.iOS")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("MSC.BlazXam.Xam.iOS")]
13 | [assembly: AssemblyCopyright("Copyright © 2014")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("72bdc44f-c588-44f3-b6df-9aace7daafdd")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/ViewModels/BaseViewModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Runtime.CompilerServices;
5 |
6 | using Xamarin.Forms;
7 |
8 | using MSC.BlazXam.Xam.Models;
9 | using MSC.BlazXam.Xam.Services;
10 |
11 | namespace MSC.BlazXam.Xam.ViewModels
12 | {
13 | public class BaseViewModel : INotifyPropertyChanged
14 | {
15 | public IDataStore- DataStore => DependencyService.Get
>() ?? new MockDataStore();
16 |
17 | bool isBusy = false;
18 | public bool IsBusy
19 | {
20 | get { return isBusy; }
21 | set { SetProperty(ref isBusy, value); }
22 | }
23 |
24 | string title = string.Empty;
25 | public string Title
26 | {
27 | get { return title; }
28 | set { SetProperty(ref title, value); }
29 | }
30 |
31 | protected bool SetProperty(ref T backingStore, T value,
32 | [CallerMemberName]string propertyName = "",
33 | Action onChanged = null)
34 | {
35 | if (EqualityComparer.Default.Equals(backingStore, value))
36 | return false;
37 |
38 | backingStore = value;
39 | onChanged?.Invoke();
40 | OnPropertyChanged(propertyName);
41 | return true;
42 | }
43 |
44 | #region INotifyPropertyChanged
45 | public event PropertyChangedEventHandler PropertyChanged;
46 | protected void OnPropertyChanged([CallerMemberName] string propertyName = "")
47 | {
48 | var changed = PropertyChanged;
49 | if (changed == null)
50 | return;
51 |
52 | changed.Invoke(this, new PropertyChangedEventArgs(propertyName));
53 | }
54 | #endregion
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Views/ItemDetailPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.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 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/Startup.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Threading.Tasks;
5 | using Microsoft.AspNetCore.Builder;
6 | using Microsoft.AspNetCore.Components;
7 | using Microsoft.AspNetCore.Hosting;
8 | using Microsoft.AspNetCore.HttpsPolicy;
9 | using Microsoft.Extensions.Configuration;
10 | using Microsoft.Extensions.DependencyInjection;
11 | using Microsoft.Extensions.Hosting;
12 |
13 | namespace MSC.BlazXam.Blazor
14 | {
15 | public class Startup
16 | {
17 | public Startup(IConfiguration configuration)
18 | {
19 | Configuration = configuration;
20 | }
21 |
22 | public IConfiguration Configuration { get; }
23 |
24 | // This method gets called by the runtime. Use this method to add services to the container.
25 | // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
26 | public void ConfigureServices(IServiceCollection services)
27 | {
28 | services.AddRazorPages();
29 | services.AddServerSideBlazor();
30 | }
31 |
32 | // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
33 | public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
34 | {
35 | if (env.IsDevelopment())
36 | {
37 | app.UseDeveloperExceptionPage();
38 | }
39 | else
40 | {
41 | app.UseExceptionHandler("/Error");
42 | // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
43 | app.UseHsts();
44 | }
45 |
46 | app.UseHttpsRedirection();
47 | app.UseStaticFiles();
48 |
49 | app.UseRouting();
50 |
51 | app.UseEndpoints(endpoints =>
52 | {
53 | endpoints.MapBlazorHub();
54 | endpoints.MapFallbackToPage("/_Host");
55 | });
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/ViewModelsDesign/ItemsViewModelDesign.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.ObjectModel;
2 | using MSC.BlazXam.Xam.Models;
3 |
4 | namespace MSC.BlazXam.Xam.ViewModelsDesign
5 | {
6 | public static class ViewModelLocator
7 | {
8 | private static ItemsViewModel_2 _itemsViewModel_2;
9 | private static ItemsViewModel_Empty _itemsViewModel_Empty;
10 |
11 | public static ItemsViewModel_2 ItemsViewModel_2 =>
12 | _itemsViewModel_2 ?? (_itemsViewModel_2 = new ItemsViewModel_2());
13 |
14 | public static ItemsViewModel_Empty ItemsViewModel_Empty =>
15 | _itemsViewModel_Empty ?? (_itemsViewModel_Empty = new ItemsViewModel_Empty());
16 | }
17 |
18 | public class ItemsViewModel_2
19 | {
20 | public bool IsShowEmptyItemsListMessage
21 | {
22 | get { return false; }
23 | }
24 |
25 | public ObservableCollection- Items
26 | {
27 | get
28 | {
29 | return new ObservableCollection
- ()
30 | {
31 | new Item() { Id = "123456", City = "New York", Country = "United States" , Population = 123456789 },
32 | new Item() { Id = "789456", City = "Paris", Country = "France" , Population = 987654321 }
33 | };
34 | }
35 | }
36 |
37 | public string ItemsPageMessage
38 | {
39 | get
40 | {
41 | return string.Empty;
42 | }
43 | }
44 | }
45 |
46 | public class ItemsViewModel_Empty
47 | {
48 | public bool IsShowEmptyItemsListMessage
49 | {
50 | get { return true; }
51 | }
52 |
53 | public ObservableCollection
- Items
54 | {
55 | get
56 | {
57 | return new ObservableCollection
- ();
58 | }
59 | }
60 |
61 | public string ItemsPageMessage
62 | {
63 | get
64 | {
65 | return "Sample ItemsPageMessage";
66 | }
67 | }
68 | }
69 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Views/ItemsPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
15 |
17 |
18 |
19 |
28 |
29 |
30 |
31 |
32 |
33 |
36 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/ViewModels/ItemsViewModel.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.ObjectModel;
3 | using System.Diagnostics;
4 | using System.Threading.Tasks;
5 |
6 | using Xamarin.Forms;
7 |
8 | using MSC.BlazXam.Xam.Models;
9 | using MSC.BlazXam.Xam.Views;
10 |
11 | namespace MSC.BlazXam.Xam.ViewModels
12 | {
13 | public class ItemsViewModel : BaseViewModel
14 | {
15 | private bool _isShowEmptyItemsListMessage;
16 | private ObservableCollection- _items;
17 | private string _itemsPageMessage;
18 |
19 | public ItemsViewModel()
20 | {
21 | Title = "Browse";
22 | Items = new ObservableCollection
- ();
23 | LoadItemsCommand = new Command(async () => await ExecuteLoadItemsCommand());
24 | }
25 |
26 | public bool IsShowEmptyItemsListMessage
27 | {
28 | get { return _isShowEmptyItemsListMessage; }
29 | set { SetProperty(ref _isShowEmptyItemsListMessage, value); }
30 | }
31 |
32 | public ObservableCollection
- Items
33 | {
34 | get { return _items; }
35 | set { SetProperty(ref _items, value); }
36 | }
37 |
38 | public string ItemsPageMessage
39 | {
40 | get { return _itemsPageMessage; }
41 | set { SetProperty(ref _itemsPageMessage, value); }
42 | }
43 |
44 | public Command LoadItemsCommand { get; set; }
45 |
46 | private async Task ExecuteLoadItemsCommand()
47 | {
48 | if (IsBusy)
49 | return;
50 |
51 | IsBusy = true;
52 |
53 | try
54 | {
55 | Items.Clear();
56 | var items = await DataStore.GetItemsAsync(true);
57 | foreach (var item in items)
58 | {
59 | Items.Add(item);
60 | }
61 |
62 | if (Items.Count == 0)
63 | {
64 | IsShowEmptyItemsListMessage = true;
65 | ItemsPageMessage = "No Cities Returned! API only allows 50 calls per day!";
66 | }
67 | else
68 | {
69 | IsShowEmptyItemsListMessage = false;
70 | ItemsPageMessage = string.Empty;
71 | }
72 | }
73 | catch (Exception ex)
74 | {
75 | Debug.WriteLine(ex);
76 | }
77 | finally
78 | {
79 | IsBusy = false;
80 | }
81 | }
82 | }
83 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.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 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/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 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.BizLogic/HTTPClientService.cs:
--------------------------------------------------------------------------------
1 | using MSC.BlazXam.Models;
2 | using Newtonsoft.Json;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Diagnostics;
6 | using System.Net.Http;
7 | using System.Threading.Tasks;
8 |
9 | namespace MSC.BlazXam.BizLogic
10 | {
11 | public static class HTTPClientService
12 | {
13 | public static async Task GetAccuWeatherCurrentConditionsDataAsync(string locationId)
14 | {
15 | var locData = new AccuWeatherCurrentConditModel();
16 |
17 | try
18 | {
19 | HttpClient client = new HttpClient();
20 | client.MaxResponseContentBufferSize = 256000;
21 | var urlStr = $"https://dataservice.accuweather.com/currentconditions/v1/{locationId}?apikey={Config.AccuWeatherKey}&language=en-us&details=false ";
22 | var uri = new Uri(urlStr);
23 | var response = await client.GetAsync(uri);
24 | if (response.IsSuccessStatusCode)
25 | {
26 | var content = await response.Content.ReadAsStringAsync();
27 | var list = JsonConvert.DeserializeObject>(content);
28 | if (list.Count == 1) { locData = list[0]; }
29 | }
30 | }
31 | catch (Exception ex)
32 | {
33 | Debug.WriteLine($"ERROR { ex.Message}");
34 | //TODO: log error here with your favorite logging tool
35 | }
36 |
37 | return locData;
38 | }
39 |
40 | public static async Task> GetAccuWeatherTopCitiesDataAsync()
41 | {
42 | var locData = new List();
43 |
44 | try
45 | {
46 | HttpClient client = new HttpClient();
47 | client.MaxResponseContentBufferSize = 256000;
48 | var urlStr = $"https://dataservice.accuweather.com/locations/v1/topcities/50?apikey={Config.AccuWeatherKey}&language=en-us&details=true";
49 | var uri = new Uri(urlStr);
50 | var response = await client.GetAsync(uri);
51 | if (response.IsSuccessStatusCode)
52 | {
53 | var content = await response.Content.ReadAsStringAsync();
54 | locData = JsonConvert.DeserializeObject>(content);
55 | }
56 | }
57 | catch (Exception ex)
58 | {
59 | Debug.WriteLine($"ERROR { ex.Message}");
60 | //TODO: log error here with your favorite logging tool
61 | }
62 |
63 | Debug.WriteLine($"SUCCESS Retrieved {locData.Count} Records");
64 |
65 | return locData;
66 | }
67 | }
68 | }
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/AppShell.xaml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
14 |
15 |
16 | #2196F3
17 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/site.css:
--------------------------------------------------------------------------------
1 | @import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
2 |
3 | html, body {
4 | font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
5 | }
6 |
7 | a, .btn-link {
8 | color: #0366d6;
9 | }
10 |
11 | .btn-primary {
12 | color: #fff;
13 | background-color: #1b6ec2;
14 | border-color: #1861ac;
15 | }
16 |
17 | app {
18 | position: relative;
19 | display: flex;
20 | flex-direction: column;
21 | }
22 |
23 | .top-row {
24 | height: 3.5rem;
25 | display: flex;
26 | align-items: center;
27 | }
28 |
29 | .main {
30 | flex: 1;
31 | }
32 |
33 | .main .top-row {
34 | background-color: #f7f7f7;
35 | border-bottom: 1px solid #d6d5d5;
36 | justify-content: flex-end;
37 | }
38 |
39 | .main .top-row > a {
40 | margin-left: 1.5rem;
41 | }
42 |
43 | .sidebar {
44 | background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
45 | }
46 |
47 | .sidebar .top-row {
48 | background-color: rgba(0,0,0,0.4);
49 | }
50 |
51 | .sidebar .navbar-brand {
52 | font-size: 1.1rem;
53 | }
54 |
55 | .sidebar .oi {
56 | width: 2rem;
57 | font-size: 1.1rem;
58 | vertical-align: text-top;
59 | top: -2px;
60 | }
61 |
62 | .nav-item {
63 | font-size: 0.9rem;
64 | padding-bottom: 0.5rem;
65 | }
66 |
67 | .nav-item:first-of-type {
68 | padding-top: 1rem;
69 | }
70 |
71 | .nav-item:last-of-type {
72 | padding-bottom: 1rem;
73 | }
74 |
75 | .nav-item a {
76 | color: #d7d7d7;
77 | border-radius: 4px;
78 | height: 3rem;
79 | display: flex;
80 | align-items: center;
81 | line-height: 3rem;
82 | }
83 |
84 | .nav-item a.active {
85 | background-color: rgba(255,255,255,0.25);
86 | color: white;
87 | }
88 |
89 | .nav-item a:hover {
90 | background-color: rgba(255,255,255,0.1);
91 | color: white;
92 | }
93 |
94 | .content {
95 | padding-top: 1.1rem;
96 | }
97 |
98 | .navbar-toggler {
99 | background-color: rgba(255, 255, 255, 0.1);
100 | }
101 |
102 | .valid.modified:not([type=checkbox]) {
103 | outline: 1px solid #26b050;
104 | }
105 |
106 | .invalid {
107 | outline: 1px solid red;
108 | }
109 |
110 | .validation-message {
111 | color: red;
112 | }
113 |
114 | @media (max-width: 767.98px) {
115 | .main .top-row {
116 | display: none;
117 | }
118 | }
119 |
120 | @media (min-width: 768px) {
121 | app {
122 | flex-direction: row;
123 | }
124 |
125 | .sidebar {
126 | width: 250px;
127 | height: 100vh;
128 | position: sticky;
129 | top: 0;
130 | }
131 |
132 | .main .top-row {
133 | position: sticky;
134 | top: 0;
135 | }
136 |
137 | .main > div {
138 | padding-left: 2rem !important;
139 | padding-right: 1.5rem !important;
140 | }
141 |
142 | .navbar-toggler {
143 | display: none;
144 | }
145 |
146 | .sidebar .collapse {
147 | /* Never collapse the sidebar for wide screens */
148 | display: block;
149 | }
150 | }
151 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/README.md:
--------------------------------------------------------------------------------
1 | [Open Iconic v1.1.1](http://useiconic.com/open)
2 | ===========
3 |
4 | ### Open Iconic is the open source sibling of [Iconic](http://useiconic.com). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](http://useiconic.com/open#icons)
5 |
6 |
7 |
8 | ## What's in Open Iconic?
9 |
10 | * 223 icons designed to be legible down to 8 pixels
11 | * Super-light SVG files - 61.8 for the entire set
12 | * SVG sprite—the modern replacement for icon fonts
13 | * Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats
14 | * Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats
15 | * PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px.
16 |
17 |
18 | ## Getting Started
19 |
20 | #### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](http://useiconic.com/open#icons) and [Reference](http://useiconic.com/open#reference) sections.
21 |
22 | ### General Usage
23 |
24 | #### Using Open Iconic's SVGs
25 |
26 | We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute).
27 |
28 | ```
29 |
30 | ```
31 |
32 | #### Using Open Iconic's SVG Sprite
33 |
34 | Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack.
35 |
36 | Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.*
37 |
38 | ```
39 |
40 |
41 |
42 | ```
43 |
44 | Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions.
45 |
46 | ```
47 | .icon {
48 | width: 16px;
49 | height: 16px;
50 | }
51 | ```
52 |
53 | Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag.
54 |
55 | ```
56 | .icon-account-login {
57 | fill: #f00;
58 | }
59 | ```
60 |
61 | To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/).
62 |
63 | #### Using Open Iconic's Icon Font...
64 |
65 |
66 | ##### …with Bootstrap
67 |
68 | You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}`
69 |
70 |
71 | ```
72 |
73 | ```
74 |
75 |
76 | ```
77 |
78 | ```
79 |
80 | ##### …with Foundation
81 |
82 | You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}`
83 |
84 | ```
85 |
86 | ```
87 |
88 |
89 | ```
90 |
91 | ```
92 |
93 | ##### …on its own
94 |
95 | You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}`
96 |
97 | ```
98 |
99 | ```
100 |
101 | ```
102 |
103 | ```
104 |
105 |
106 | ## License
107 |
108 | ### Icons
109 |
110 | All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT).
111 |
112 | ### Fonts
113 |
114 | All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web).
115 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam/Views/AboutPage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | #2196F3
18 | #96d1ff
19 | #999999
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/FONT-LICENSE:
--------------------------------------------------------------------------------
1 | SIL OPEN FONT LICENSE Version 1.1
2 |
3 | Copyright (c) 2014 Waybury
4 |
5 | PREAMBLE
6 | The goals of the Open Font License (OFL) are to stimulate worldwide
7 | development of collaborative font projects, to support the font creation
8 | efforts of academic and linguistic communities, and to provide a free and
9 | open framework in which fonts may be shared and improved in partnership
10 | with others.
11 |
12 | The OFL allows the licensed fonts to be used, studied, modified and
13 | redistributed freely as long as they are not sold by themselves. The
14 | fonts, including any derivative works, can be bundled, embedded,
15 | redistributed and/or sold with any software provided that any reserved
16 | names are not used by derivative works. The fonts and derivatives,
17 | however, cannot be released under any other type of license. The
18 | requirement for fonts to remain under this license does not apply
19 | to any document created using the fonts or their derivatives.
20 |
21 | DEFINITIONS
22 | "Font Software" refers to the set of files released by the Copyright
23 | Holder(s) under this license and clearly marked as such. This may
24 | include source files, build scripts and documentation.
25 |
26 | "Reserved Font Name" refers to any names specified as such after the
27 | copyright statement(s).
28 |
29 | "Original Version" refers to the collection of Font Software components as
30 | distributed by the Copyright Holder(s).
31 |
32 | "Modified Version" refers to any derivative made by adding to, deleting,
33 | or substituting -- in part or in whole -- any of the components of the
34 | Original Version, by changing formats or by porting the Font Software to a
35 | new environment.
36 |
37 | "Author" refers to any designer, engineer, programmer, technical
38 | writer or other person who contributed to the Font Software.
39 |
40 | PERMISSION & CONDITIONS
41 | Permission is hereby granted, free of charge, to any person obtaining
42 | a copy of the Font Software, to use, study, copy, merge, embed, modify,
43 | redistribute, and sell modified and unmodified copies of the Font
44 | Software, subject to the following conditions:
45 |
46 | 1) Neither the Font Software nor any of its individual components,
47 | in Original or Modified Versions, may be sold by itself.
48 |
49 | 2) Original or Modified Versions of the Font Software may be bundled,
50 | redistributed and/or sold with any software, provided that each copy
51 | contains the above copyright notice and this license. These can be
52 | included either as stand-alone text files, human-readable headers or
53 | in the appropriate machine-readable metadata fields within text or
54 | binary files as long as those fields can be easily viewed by the user.
55 |
56 | 3) No Modified Version of the Font Software may use the Reserved Font
57 | Name(s) unless explicit written permission is granted by the corresponding
58 | Copyright Holder. This restriction only applies to the primary font name as
59 | presented to the users.
60 |
61 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
62 | Software shall not be used to promote, endorse or advertise any
63 | Modified Version, except to acknowledge the contribution(s) of the
64 | Copyright Holder(s) and the Author(s) or with their explicit written
65 | permission.
66 |
67 | 5) The Font Software, modified or unmodified, in part or in whole,
68 | must be distributed entirely under this license, and must not be
69 | distributed under any other license. The requirement for fonts to
70 | remain under this license does not apply to any document created
71 | using the Font Software.
72 |
73 | TERMINATION
74 | This license becomes null and void if any of the above conditions are
75 | not met.
76 |
77 | DISCLAIMER
78 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
79 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
80 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
81 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
82 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
83 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
84 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
85 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
86 | OTHER DEALINGS IN THE FONT SOFTWARE.
87 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.Android/MSC.BlazXam.Xam.Android.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | {A153A47A-B964-418D-8416-11CB87EE065D}
7 | {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
8 | {6968b3a4-1835-46a3-ac5c-1ae33b475983}
9 | Library
10 | MSC.BlazXam.Xam.Droid
11 | MSC.BlazXam.Xam.Android
12 | True
13 | Resources\Resource.designer.cs
14 | Resource
15 | Properties\AndroidManifest.xml
16 | Resources
17 | Assets
18 | false
19 | v9.0
20 | true
21 | true
22 | Xamarin.Android.Net.AndroidClientHandler
23 |
24 |
25 |
26 |
27 | true
28 | portable
29 | false
30 | bin\Debug
31 | DEBUG;
32 | prompt
33 | 4
34 | None
35 |
36 |
37 | true
38 | portable
39 | true
40 | bin\Release
41 | prompt
42 | 4
43 | true
44 | false
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
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 |
98 |
99 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}
100 | MSC.BlazXam.Xam
101 |
102 |
103 |
104 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Xam/MSC.BlazXam.Xam.iOS/MSC.BlazXam.Xam.iOS.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | iPhoneSimulator
6 | 8.0.30703
7 | 2.0
8 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}
9 | {FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
10 | {89a4fe7c-635d-49c9-8d8c-5cd363c0d68d}
11 | Exe
12 | MSC.BlazXamW3W.Xam.iOS
13 | Resources
14 | MSC.BlazXamW3W.Xam.iOS
15 | true
16 | NSUrlSessionHandler
17 |
18 |
19 | true
20 | full
21 | false
22 | bin\iPhoneSimulator\Debug
23 | DEBUG
24 | prompt
25 | 4
26 | x86_64
27 | None
28 | true
29 |
30 |
31 | none
32 | true
33 | bin\iPhoneSimulator\Release
34 | prompt
35 | 4
36 | None
37 | x86_64
38 |
39 |
40 | true
41 | full
42 | false
43 | bin\iPhone\Debug
44 | DEBUG
45 | prompt
46 | 4
47 | ARM64
48 | iPhone Developer
49 | true
50 | Entitlements.plist
51 |
52 |
53 | none
54 | true
55 | bin\iPhone\Release
56 | prompt
57 | 4
58 | ARM64
59 | iPhone Developer
60 | Entitlements.plist
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 | false
72 |
73 |
74 | false
75 |
76 |
77 | false
78 |
79 |
80 | false
81 |
82 |
83 | false
84 |
85 |
86 | false
87 |
88 |
89 | false
90 |
91 |
92 | false
93 |
94 |
95 | false
96 |
97 |
98 | false
99 |
100 |
101 | false
102 |
103 |
104 | false
105 |
106 |
107 | false
108 |
109 |
110 | false
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}
139 | MSC.BlazXam.Xam
140 |
141 |
142 |
--------------------------------------------------------------------------------
/.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 | *.suo
8 | *.user
9 | *.userosscache
10 | *.sln.docstates
11 |
12 | # User-specific files (MonoDevelop/Xamarin Studio)
13 | *.userprefs
14 |
15 | # Build results
16 | [Dd]ebug/
17 | [Dd]ebugPublic/
18 | [Rr]elease/
19 | [Rr]eleases/
20 | x64/
21 | x86/
22 | bld/
23 | [Bb]in/
24 | [Oo]bj/
25 | [Ll]og/
26 |
27 | # Visual Studio 2015/2017 cache/options directory
28 | .vs/
29 | # Uncomment if you have tasks that create the project's static files in wwwroot
30 | #wwwroot/
31 |
32 | # Visual Studio 2017 auto generated files
33 | Generated\ Files/
34 |
35 | # MSTest test Results
36 | [Tt]est[Rr]esult*/
37 | [Bb]uild[Ll]og.*
38 |
39 | # NUNIT
40 | *.VisualState.xml
41 | TestResult.xml
42 |
43 | # Build Results of an ATL Project
44 | [Dd]ebugPS/
45 | [Rr]eleasePS/
46 | dlldata.c
47 |
48 | # Benchmark Results
49 | BenchmarkDotNet.Artifacts/
50 |
51 | # .NET Core
52 | project.lock.json
53 | project.fragment.lock.json
54 | artifacts/
55 | **/Properties/launchSettings.json
56 |
57 | # StyleCop
58 | StyleCopReport.xml
59 |
60 | # Files built by Visual Studio
61 | *_i.c
62 | *_p.c
63 | *_i.h
64 | *.ilk
65 | *.meta
66 | *.obj
67 | *.iobj
68 | *.pch
69 | *.pdb
70 | *.ipdb
71 | *.pgc
72 | *.pgd
73 | *.rsp
74 | *.sbr
75 | *.tlb
76 | *.tli
77 | *.tlh
78 | *.tmp
79 | *.tmp_proj
80 | *.log
81 | *.vspscc
82 | *.vssscc
83 | .builds
84 | *.pidb
85 | *.svclog
86 | *.scc
87 |
88 | # Chutzpah Test files
89 | _Chutzpah*
90 |
91 | # Visual C++ cache files
92 | ipch/
93 | *.aps
94 | *.ncb
95 | *.opendb
96 | *.opensdf
97 | *.sdf
98 | *.cachefile
99 | *.VC.db
100 | *.VC.VC.opendb
101 |
102 | # Visual Studio profiler
103 | *.psess
104 | *.vsp
105 | *.vspx
106 | *.sap
107 |
108 | # Visual Studio Trace Files
109 | *.e2e
110 |
111 | # TFS 2012 Local Workspace
112 | $tf/
113 |
114 | # Guidance Automation Toolkit
115 | *.gpState
116 |
117 | # ReSharper is a .NET coding add-in
118 | _ReSharper*/
119 | *.[Rr]e[Ss]harper
120 | *.DotSettings.user
121 |
122 | # JustCode is a .NET coding add-in
123 | .JustCode
124 |
125 | # TeamCity is a build add-in
126 | _TeamCity*
127 |
128 | # DotCover is a Code Coverage Tool
129 | *.dotCover
130 |
131 | # AxoCover is a Code Coverage Tool
132 | .axoCover/*
133 | !.axoCover/settings.json
134 |
135 | # Visual Studio code coverage results
136 | *.coverage
137 | *.coveragexml
138 |
139 | # NCrunch
140 | _NCrunch_*
141 | .*crunch*.local.xml
142 | nCrunchTemp_*
143 |
144 | # MightyMoose
145 | *.mm.*
146 | AutoTest.Net/
147 |
148 | # Web workbench (sass)
149 | .sass-cache/
150 |
151 | # Installshield output folder
152 | [Ee]xpress/
153 |
154 | # DocProject is a documentation generator add-in
155 | DocProject/buildhelp/
156 | DocProject/Help/*.HxT
157 | DocProject/Help/*.HxC
158 | DocProject/Help/*.hhc
159 | DocProject/Help/*.hhk
160 | DocProject/Help/*.hhp
161 | DocProject/Help/Html2
162 | DocProject/Help/html
163 |
164 | # Click-Once directory
165 | publish/
166 |
167 | # Publish Web Output
168 | *.[Pp]ublish.xml
169 | *.azurePubxml
170 | # Note: Comment the next line if you want to checkin your web deploy settings,
171 | # but database connection strings (with potential passwords) will be unencrypted
172 | *.pubxml
173 | *.publishproj
174 |
175 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
176 | # checkin your Azure Web App publish settings, but sensitive information contained
177 | # in these scripts will be unencrypted
178 | PublishScripts/
179 |
180 | # NuGet Packages
181 | *.nupkg
182 | # The packages folder can be ignored because of Package Restore
183 | **/[Pp]ackages/*
184 | # except build/, which is used as an MSBuild target.
185 | !**/[Pp]ackages/build/
186 | # Uncomment if necessary however generally it will be regenerated when needed
187 | #!**/[Pp]ackages/repositories.config
188 | # NuGet v3's project.json files produces more ignorable files
189 | *.nuget.props
190 | *.nuget.targets
191 |
192 | # Microsoft Azure Build Output
193 | csx/
194 | *.build.csdef
195 |
196 | # Microsoft Azure Emulator
197 | ecf/
198 | rcf/
199 |
200 | # Windows Store app package directories and files
201 | AppPackages/
202 | BundleArtifacts/
203 | Package.StoreAssociation.xml
204 | _pkginfo.txt
205 | *.appx
206 |
207 | # Visual Studio cache files
208 | # files ending in .cache can be ignored
209 | *.[Cc]ache
210 | # but keep track of directories ending in .cache
211 | !*.[Cc]ache/
212 |
213 | # Others
214 | ClientBin/
215 | ~$*
216 | *~
217 | *.dbmdl
218 | *.dbproj.schemaview
219 | *.jfm
220 | *.pfx
221 | *.publishsettings
222 | orleans.codegen.cs
223 |
224 | # Including strong name files can present a security risk
225 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
226 | #*.snk
227 |
228 | # Since there are multiple workflows, uncomment next line to ignore bower_components
229 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
230 | #bower_components/
231 |
232 | # RIA/Silverlight projects
233 | Generated_Code/
234 |
235 | # Backup & report files from converting an old project file
236 | # to a newer Visual Studio version. Backup files are not needed,
237 | # because we have git ;-)
238 | _UpgradeReport_Files/
239 | Backup*/
240 | UpgradeLog*.XML
241 | UpgradeLog*.htm
242 | ServiceFabricBackup/
243 | *.rptproj.bak
244 |
245 | # SQL Server files
246 | *.mdf
247 | *.ldf
248 | *.ndf
249 |
250 | # Business Intelligence projects
251 | *.rdl.data
252 | *.bim.layout
253 | *.bim_*.settings
254 | *.rptproj.rsuser
255 |
256 | # Microsoft Fakes
257 | FakesAssemblies/
258 |
259 | # GhostDoc plugin setting file
260 | *.GhostDoc.xml
261 |
262 | # Node.js Tools for Visual Studio
263 | .ntvs_analysis.dat
264 | node_modules/
265 |
266 | # Visual Studio 6 build log
267 | *.plg
268 |
269 | # Visual Studio 6 workspace options file
270 | *.opt
271 |
272 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
273 | *.vbw
274 |
275 | # Visual Studio LightSwitch build output
276 | **/*.HTMLClient/GeneratedArtifacts
277 | **/*.DesktopClient/GeneratedArtifacts
278 | **/*.DesktopClient/ModelManifest.xml
279 | **/*.Server/GeneratedArtifacts
280 | **/*.Server/ModelManifest.xml
281 | _Pvt_Extensions
282 |
283 | # Paket dependency manager
284 | .paket/paket.exe
285 | paket-files/
286 |
287 | # FAKE - F# Make
288 | .fake/
289 |
290 | # JetBrains Rider
291 | .idea/
292 | *.sln.iml
293 |
294 | # CodeRush
295 | .cr/
296 |
297 | # Python Tools for Visual Studio (PTVS)
298 | __pycache__/
299 | *.pyc
300 |
301 | # Cake - Uncomment if you are using it
302 | # tools/**
303 | # !tools/packages.config
304 |
305 | # Tabs Studio
306 | *.tss
307 |
308 | # Telerik's JustMock configuration file
309 | *.jmconfig
310 |
311 | # BizTalk build output
312 | *.btp.cs
313 | *.btm.cs
314 | *.odx.cs
315 | *.xsd.cs
316 |
317 | # OpenCover UI analysis results
318 | OpenCover/
319 |
320 | # Azure Stream Analytics local run output
321 | ASALocalRun/
322 |
323 | # MSBuild Binary and Structured Log
324 | *.binlog
325 |
326 | # NVidia Nsight GPU debugger configuration file
327 | *.nvuser
328 |
329 | # MFractors (Xamarin productivity tool) working folder
330 | .mfractor/
331 |
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blazor/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css:
--------------------------------------------------------------------------------
1 | @font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'}
--------------------------------------------------------------------------------
/BlazXam/MSC.BlazXam.Blaz.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.29123.89
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSC.BlazXam.Models", "MSC.BlazXam.Models\MSC.BlazXam.Models.csproj", "{BCD6342F-7E56-4431-B94E-E0F818F36231}"
7 | EndProject
8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSC.BlazXam.BizLogic", "MSC.BlazXam.BizLogic\MSC.BlazXam.BizLogic.csproj", "{0F7BEE5C-6045-4268-A2CE-62B4C31A8329}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSC.BlazXam.Xam.Android", "MSC.BlazXam.Xam\MSC.BlazXam.Xam.Android\MSC.BlazXam.Xam.Android.csproj", "{A153A47A-B964-418D-8416-11CB87EE065D}"
11 | EndProject
12 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSC.BlazXam.Xam.iOS", "MSC.BlazXam.Xam\MSC.BlazXam.Xam.iOS\MSC.BlazXam.Xam.iOS.csproj", "{6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}"
13 | EndProject
14 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSC.BlazXam.Xam", "MSC.BlazXam.Xam\MSC.BlazXam.Xam\MSC.BlazXam.Xam.csproj", "{26A13A4E-B79C-4AED-97E9-84F5473C5065}"
15 | EndProject
16 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSC.BlazXam.BizLogicTest", "MSC.BlazXam.BizLogicTest\MSC.BlazXam.BizLogicTest.csproj", "{B0524B79-4A06-414C-BA49-68DB2E444A24}"
17 | EndProject
18 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MSC.BlazXam.Config", "MSC.BlazXam.Config\MSC.BlazXam.Config.csproj", "{46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}"
19 | EndProject
20 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MSC.BlazXam.Blazor", "MSC.BlazXam.Blazor\MSC.BlazXam.Blazor.csproj", "{A301D30A-C779-440D-AE9C-2F31BCFEBB19}"
21 | EndProject
22 | Global
23 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
24 | Debug|Any CPU = Debug|Any CPU
25 | Debug|iPhone = Debug|iPhone
26 | Debug|iPhoneSimulator = Debug|iPhoneSimulator
27 | Release|Any CPU = Release|Any CPU
28 | Release|iPhone = Release|iPhone
29 | Release|iPhoneSimulator = Release|iPhoneSimulator
30 | EndGlobalSection
31 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
32 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Debug|Any CPU.Build.0 = Debug|Any CPU
34 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Debug|iPhone.ActiveCfg = Debug|Any CPU
35 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Debug|iPhone.Build.0 = Debug|Any CPU
36 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
37 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
38 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Release|Any CPU.ActiveCfg = Release|Any CPU
39 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Release|Any CPU.Build.0 = Release|Any CPU
40 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Release|iPhone.ActiveCfg = Release|Any CPU
41 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Release|iPhone.Build.0 = Release|Any CPU
42 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
43 | {BCD6342F-7E56-4431-B94E-E0F818F36231}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
44 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Debug|Any CPU.Build.0 = Debug|Any CPU
46 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Debug|iPhone.ActiveCfg = Debug|Any CPU
47 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Debug|iPhone.Build.0 = Debug|Any CPU
48 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
49 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
50 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Release|Any CPU.ActiveCfg = Release|Any CPU
51 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Release|Any CPU.Build.0 = Release|Any CPU
52 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Release|iPhone.ActiveCfg = Release|Any CPU
53 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Release|iPhone.Build.0 = Release|Any CPU
54 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
55 | {0F7BEE5C-6045-4268-A2CE-62B4C31A8329}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
56 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
57 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|Any CPU.Build.0 = Debug|Any CPU
58 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
59 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|iPhone.ActiveCfg = Debug|Any CPU
60 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|iPhone.Build.0 = Debug|Any CPU
61 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|iPhone.Deploy.0 = Debug|Any CPU
62 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
63 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
64 | {A153A47A-B964-418D-8416-11CB87EE065D}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
65 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|Any CPU.ActiveCfg = Release|Any CPU
66 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|Any CPU.Build.0 = Release|Any CPU
67 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|Any CPU.Deploy.0 = Release|Any CPU
68 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|iPhone.ActiveCfg = Release|Any CPU
69 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|iPhone.Build.0 = Release|Any CPU
70 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|iPhone.Deploy.0 = Release|Any CPU
71 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
72 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
73 | {A153A47A-B964-418D-8416-11CB87EE065D}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
74 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Debug|Any CPU.ActiveCfg = Debug|iPhone
75 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Debug|iPhone.ActiveCfg = Debug|iPhone
76 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Debug|iPhone.Build.0 = Debug|iPhone
77 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
78 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
79 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Release|Any CPU.ActiveCfg = Release|iPhone
80 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Release|iPhone.ActiveCfg = Release|iPhone
81 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Release|iPhone.Build.0 = Release|iPhone
82 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
83 | {6B74BF17-7FBE-4FB2-AF7F-F1C96E1F5270}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
84 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
85 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Debug|Any CPU.Build.0 = Debug|Any CPU
86 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Debug|iPhone.ActiveCfg = Debug|Any CPU
87 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Debug|iPhone.Build.0 = Debug|Any CPU
88 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
89 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
90 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Release|Any CPU.ActiveCfg = Release|Any CPU
91 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Release|Any CPU.Build.0 = Release|Any CPU
92 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Release|iPhone.ActiveCfg = Release|Any CPU
93 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Release|iPhone.Build.0 = Release|Any CPU
94 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
95 | {26A13A4E-B79C-4AED-97E9-84F5473C5065}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
96 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
97 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Debug|Any CPU.Build.0 = Debug|Any CPU
98 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Debug|iPhone.ActiveCfg = Debug|Any CPU
99 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Debug|iPhone.Build.0 = Debug|Any CPU
100 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
101 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
102 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Release|Any CPU.ActiveCfg = Release|Any CPU
103 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Release|Any CPU.Build.0 = Release|Any CPU
104 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Release|iPhone.ActiveCfg = Release|Any CPU
105 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Release|iPhone.Build.0 = Release|Any CPU
106 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
107 | {B0524B79-4A06-414C-BA49-68DB2E444A24}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
108 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
109 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
110 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Debug|iPhone.ActiveCfg = Debug|Any CPU
111 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Debug|iPhone.Build.0 = Debug|Any CPU
112 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
113 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
114 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
115 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Release|Any CPU.Build.0 = Release|Any CPU
116 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Release|iPhone.ActiveCfg = Release|Any CPU
117 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Release|iPhone.Build.0 = Release|Any CPU
118 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
119 | {46DEF1CF-4C05-4395-AD87-ACFDC7D9FEBA}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
120 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
121 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Debug|Any CPU.Build.0 = Debug|Any CPU
122 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Debug|iPhone.ActiveCfg = Debug|Any CPU
123 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Debug|iPhone.Build.0 = Debug|Any CPU
124 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
125 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
126 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Release|Any CPU.ActiveCfg = Release|Any CPU
127 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Release|Any CPU.Build.0 = Release|Any CPU
128 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Release|iPhone.ActiveCfg = Release|Any CPU
129 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Release|iPhone.Build.0 = Release|Any CPU
130 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
131 | {A301D30A-C779-440D-AE9C-2F31BCFEBB19}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
132 | EndGlobalSection
133 | GlobalSection(SolutionProperties) = preSolution
134 | HideSolutionNode = FALSE
135 | EndGlobalSection
136 | GlobalSection(ExtensibilityGlobals) = postSolution
137 | SolutionGuid = {B686D960-8D64-4444-BDFC-9272B9F21796}
138 | EndGlobalSection
139 | EndGlobal
140 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------