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
internal class MediaPickerPopoverDelegate : UIPopoverControllerDelegate | |
{ | |
NSObject observer; | |
UIDeviceOrientation orientation; | |
internal MediaPickerPopoverDelegate (MediaPickerDelegate pickerDelegate, UIImagePickerController picker) | |
{ | |
this.pickerDelegate = pickerDelegate; | |
this.picker = picker; | |
this.orientation = UIDevice.CurrentDevice.Orientation; |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using ServiceStack.Text.Common; | |
using ServiceStack.Text.Json; | |
using ServiceStack.Text.Jsv; | |
#if WINDOWS_PHONE | |
using ServiceStack.Text.WP; | |
#endif |
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
// Excerpt from ServiceStack.Text - JsConfig.cs | |
[MonoTouch.Foundation.Preserve(AllMembers=true)] | |
internal class JsonAotConfig | |
{ | |
static JsReader<JsonTypeSerializer> reader; | |
static JsWriter<JsonTypeSerializer> writer; | |
static JsonTypeSerializer serializer; | |
static JsonAotConfig() |
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
using System; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.Threading; | |
using ServiceStack.Common.Web; | |
using ServiceStack.Logging; | |
using ServiceStack.ServiceHost; | |
using ServiceStack.Text; | |
using ServiceStack.ServiceClient.Web; |
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
public class MySqlServerOrmLiteDialectProvider : | |
SqlServerOrmLiteDialectProvider | |
{ | |
public static new MySqlServerOrmLiteDialectProvider Instance = new MySqlServerOrmLiteDialectProvider(); | |
public override string GetColumnDefinition(string fieldName, Type fieldType, bool isPrimaryKey, bool autoIncrement, bool isNullable, int? fieldLength, int? scale, string defaultValue) | |
{ | |
string fieldDefinition; | |
// Begin: Override edit |