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
namespace Fusonic.Monotouch.Utils | |
{ | |
public class ButtonAction | |
{ | |
public ButtonAction (string title, Action callback) | |
{ | |
Title = title; | |
Callback = callback; | |
} | |
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
// Licence: MIT X11 | |
// Note: This is an Objective-C to C# translation by using code from: http://code.google.com/p/toast-notifications-ios/ | |
namespace Fusonic.Monotouch.Utils | |
{ | |
public class ToastView : NSObject | |
{ | |
ToastSettings theSettings = new ToastSettings (); | |
private string text = null; | |
private UIView view; |
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
// Fast-Import / Fast-Export Rewriter to migrate bazaar bugtracking metdata properties to git. | |
// More infos: http://www.fusonic.net/en/blog/migrating-from-bazaar-to-git/ | |
// Licence: Mit X11 / BSD | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Text; | |
using System.Diagnostics; | |
using System.Collections.Generic; |
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 MyContextConfiguration : DbConfiguration | |
{ | |
public MyContextConfiguration() | |
{ | |
MyDbModelStore cachedDbModelStore = new MyDbModelStore(MyContext.EfCacheDirPath); | |
IDbDependencyResolver dependencyResolver = new SingletonDependencyResolver<DbModelStore>(cachedDbModelStore); | |
AddDependencyResolver(dependencyResolver); | |
} | |
private class MyDbModelStore : DefaultDbModelStore |