Пример #1
0
    /// <summary>
    /// Adds the update.
    /// </summary>
    /// <param name="method">Method.</param>
    public void AddUpdate(CustomerAction method)
    {
        if (method == null)
        {
            return;
        }
        int i = updateFunctions.IndexOf(method);

        if (i == -1)
        {
            updateFunctions.Add(method);
        }
        else
        {
            GlobalLog.LogWarning("AddUpdate has exist" + method.ToString());
        }
    }