This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace TowerOffense | |
{ | |
/// <summary> | |
/// Helpers for cryptography. This class is shared through file linking in: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using System.Runtime.CompilerServices; | |
namespace AwaitTest | |
{ | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics; | |
using System; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace CryptoDemo | |
{ | |
/// <summary> | |
/// Helpers for cryptography. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class GenericPagerAdpapter<T> : Android.Support.V13.App.FragmentPagerAdapter where T : Fragment | |
{ | |
public GenericPagerAdpapter (FragmentManager fm) : base(fm) | |
{ | |
} | |
public Func<int, T> ItemAtPosition; | |
public Func<int> ItemCount; | |
public Func<int, string> TitleAtPosition; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Android.Gms.Common; | |
using Android.Gms.Common.Apis; | |
using Android.Gms.Games.Achievement; | |
using Android.Gms.Games.LeaderBoard; | |
using Android.Gms.Games; | |
using Android.App; | |
using Android.Content; | |
using Android.Views; | |
using Java.Interop; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using Xamarin.Forms; | |
namespace VideoPlayback.Forms | |
{ | |
/// <summary> | |
/// View to render media content. This view is backed by native renderers and uses AVPlayerViewController on iOS and VideoPlayerView on Android. | |
/// </summary> | |
public sealed class MediaView : ContentView |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UIKit; | |
namespace JackBox | |
{ | |
// Addes the view of the first 50 boxes. | |
public partial class SecondViewController : UIViewController | |
{ | |
BoxesViewL boxes50; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:custom="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_marginTop="8dp" | |
android:layout_marginLeft="8dp" | |
android:layout_marginRight="8dp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Put | |
intent.PutExtra(EXTRAS.ItemPosition, position); | |
// Get | |
int position = this.Intent.GetExtra(EXTRAS.ItemPosition, -1); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
namespace TestOp | |
{ | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ | |
var foo = new foo(); |