Example #1
0
        /*--------------------------------------------------------------------------------------------*/
        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]);
        }
Example #2
0
 public static bool IfContainsListInstance(string key)
 {
     return(ListMap.ContainsKey(key));
 }
Example #3
0
 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]);
 }
Example #5
0
 // Get call arguments.
 static string[] GetCallArgs(ListMap <string> args)
 {
     return(args.ContainsKey("-a") ? args["-a"].ToArray() : new string[0]);
 }