KeePass.Ecas.EcasUtil.GetParamUInt C# (CSharp) Method

GetParamUInt() public static method

public static GetParamUInt ( List vParams, int iIndex ) : uint
vParams List
iIndex int
return uint
        public static uint GetParamUInt(List<string> vParams, int iIndex)
        {
            return GetParamUInt(vParams, iIndex, 0);
        }

Same methods

EcasUtil::GetParamUInt ( List vParams, int iIndex, uint uDefault ) : uint

Usage Example

コード例 #1
0
        internal bool RestartTimer()
        {
            if (!m_type.Equals(EcasEventIDs.TimePeriodic))
            {
                Debug.Assert(false); return(false);
            }

            uint s = EcasUtil.GetParamUInt(m_params, 0);

            if (s == 0)
            {
                return(false);
            }

#if DEBUG
            // StackTrace st = new StackTrace(false);
            // Trace.WriteLine("[" + (Environment.TickCount / 1000).ToString() +
            //	"] Restarting timer... (" + st.GetFrame(3).GetMethod().Name +
            //	" -> " + st.GetFrame(2).GetMethod().Name +
            //	" -> " + st.GetFrame(1).GetMethod().Name + ").");
#endif

            DateTime dtNow = DateTime.UtcNow;
            m_lRunAtTicks = dtNow.AddSeconds((double)s - 0.45).Ticks;
            return(true);
        }
All Usage Examples Of KeePass.Ecas.EcasUtil::GetParamUInt