Ejemplo n.º 1
0
        public bool RemovePassContainer(PassContainer passContainer)
        {
            if (passContainer == null)
            {
                return(false);
            }

            int index = SearchByName(passContainer.Name);

            return(RemovePassContainerAt(index));
        }
Ejemplo n.º 2
0
        public bool AddPassContainer(PassContainer passContainer)
        {
            if (passContainer == null || passContainer.Name.Length < 1)
            {
                return(false);
            }

            if (SearchByName(passContainer.Name) > -1)
            {
                return(false);
            }

            _passwordList.Add(passContainer);
            _count++;
            Reset();
            UpdateCollection();
            return(true);
        }