// Private Methods (1) /// <summary> /// Fetches the backing table if needed. /// </summary> private void FetchBackingTableIfNeeded() { if (_Table == null) { _Table = _Client.GetTableInternal(TableID); } }
public static void CheckInterface(object obj) { IObjectDesigner designer = obj as IObjectDesigner; Debug.WriteLineIf(designer != null, "Is IObjectDesigner");//* INSCallbackEnum callbackEnum = obj as INSCallbackEnum; Debug.WriteLineIf(callbackEnum != null, "Is INSCallbackEnum"); INSRec rec = obj as INSRec; Debug.WriteLineIf(rec != null, "Is INSRec"); INSAppBase appBase = obj as INSAppBase; Debug.WriteLineIf(appBase != null, "Is INSAppBase");//* INSApplication app = obj as INSApplication; Debug.WriteLineIf(app != null, "Is INSApplication");//* INSForm form = obj as INSForm; Debug.WriteLineIf(form != null, "Is INSForm"); INSHook hook = obj as INSHook; Debug.WriteLineIf(hook != null, "Is INSHook"); INSHyperlink hyper = obj as INSHyperlink; Debug.WriteLineIf(hyper != null, "Is INSHyperlink");//* INSMenuButton menub = obj as INSMenuButton; Debug.WriteLineIf(menub != null, "Is INSMenuButton"); INSTable table = obj as INSTable; Debug.WriteLineIf(table != null, "Is INSTable"); IConnectionPointContainer conn = obj as IConnectionPointContainer; Debug.WriteLineIf(conn != null, "Is IConnectionPointContainer"); }
// Internal Methods (1) /// <summary> /// Sets the backing table. /// </summary> /// <param name="table">The table.</param> internal void SetBackingTable(INSTable table) { _Table = table; }