/*--------------------------------------------------------------------------------------------*/ public ProjectionState GetProjection(CursorType pCursorType) { if (!vProjectionMap.ContainsKey(pCursorType)) { ICursorState state = Hovercursor.GetCursorState(pCursorType); var proj = new ProjectionState(state, vInteractSett, vBaseTx); vProjectionMap.Add(pCursorType, proj); } return(vProjectionMap[pCursorType]); }
public static bool IfContainsListInstance(string key) { return(ListMap.ContainsKey(key)); }
public static List <NewsPreviewModel> GetListInstance(string key) { return(ListMap.ContainsKey(key) ? ListMap[key] : null); }
/*--------------------------------------------------------------------------------------------*/ public bool IsSelectionPreventedViaDisplay(string pName) { return(vPreventSelectionViaDisplayMap.ContainsKey(pName) && vPreventSelectionViaDisplayMap[pName]); }
// Get call arguments. static string[] GetCallArgs(ListMap <string> args) { return(args.ContainsKey("-a") ? args["-a"].ToArray() : new string[0]); }