public IInteractionMode viewIInteractionMode() { global::System.IntPtr cPtr = yarpPINVOKE.PolyDriver_viewIInteractionMode(swigCPtr); IInteractionMode ret = (cPtr == global::System.IntPtr.Zero) ? null : new IInteractionMode(cPtr, false); return(ret); }
public static void Main(string[] args) { var passedArguments = new Arguments(args); IDatabase database = new SQLite(@"C:\git\personal\WatchMyPrices\myQuickDb.sqlite"); IWebQueryable webQueryable = new WebQueryable(); IPriceQueryable webPriceQueryable = new WebPriceQueryable(webQueryable, database); IInteractionMode mode = null; if (passedArguments.IsWatchMode) { mode = new WatchMode(webPriceQueryable, database, passedArguments.TimeInterval); } else { mode = new InteractiveMode(database); } mode.Run(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(IInteractionMode obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }