This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form asp-action="AddNewRole" asp-controller="Admin"> | |
<div asp-validation-summary="ValidationSummary.ModelOnly"></div> | |
<div class="color-line"></div> | |
<div class="modal-header"> | |
<h4 class="modal-title">Add new role</h4> | |
<small class="font-bold"></small> | |
</div> | |
<div class="modal-body"> | |
<div class="panel-body"> | |
<div class="form-group"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Nowhere on the internet does this exist because of the total hacking nature, bad documentation and cowboy gippo coding of the java to .net port. Inconsistent placing of various functions, enums, and members. | |
var t = PackageManager.GetApplicationInfo(PackageName, Android.Content.PM.PackageInfoFlags.MetaData); | |
Bundle b = t.MetaData; | |
//Manifest | |
// <application android:label="@string/app_name" android:icon="@drawable/Icon" android:theme="@style/MyTheme"> | |
// <meta-data android:name="ApplicationVersion" android:value="10.0.0.2" /> | |
// </application> |