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.Xml; | |
using System.Xml.Linq; | |
namespace XmlLib | |
{ | |
/// <summary> | |
/// Provides extension methods for simple conversion between System.Xml and System.Xml.Linq classes. | |
/// </summary> | |
/// <remarks>From: http://brianary.blogspot.com/2010/02/converting-between-xdocument-and.html</remarks> | |
public static class XmlLinqConversionExtensions |
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 Paths | |
{ | |
/// <summary> | |
/// Apply Path.Combine(on path and list) | |
/// </summary> | |
/// <param name="path"></param> | |
/// <param name="list"></param> | |
/// <returns></returns> | |
public static string Combine(string path, params string[] list) | |
{ |
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
[DebuggerDisplay("{Title}, Desc({Description}), Link({Link})")] | |
public class Item | |
{ | |
public Item(XElement x) | |
{ | |
Title = x.Element("title").Value; | |
Description = x.Element("description").Value; | |
XElement link = x.Element("link"); | |
if(null != link) | |
Link = link.Value; |
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.Collections.Generic; | |
using MonoTouch.Foundation; | |
using MonoTouch.ObjCRuntime; | |
using MonoTouch.UIKit; | |
namespace iOSLib | |
{ | |
public static class ViewExtensions | |
{ | |
static Dictionary<UIView, Dictionary<UISwipeGestureRecognizerDirection, SwipeClass>> |
NewerOlder