Dev2.Utils.OpeningWorkflowsHelper.IsWaitingForFistFocusLoss C# (CSharp) Method

IsWaitingForFistFocusLoss() public static method

Determines whether [is waiting for fist focus loss] [the specified work surface key].
public static IsWaitingForFistFocusLoss ( WorkSurfaceKey workSurfaceKey ) : bool
workSurfaceKey WorkSurfaceKey The work surface key.
return bool
        public static bool IsWaitingForFistFocusLoss(WorkSurfaceKey workSurfaceKey)
        {
            if(_resourcesCurrentlyWaitingForFirstFocusLoss.ContainsKey(workSurfaceKey.ToString()))
            {
                return _resourcesCurrentlyWaitingForFirstFocusLoss[workSurfaceKey.ToString()];
            }

            return false;
        }