Exemplo n.º 1
0
        private void OnAdd()
        {
            if (!FirstName.IsNullOrEmpty() &&
                !LastName.IsNullOrEmpty() &&
                !NamesList.Contains(FullName))
            {
                NamesList.Add(FullName);

                FirstName = null;
                LastName  = null;
            }
        }
Exemplo n.º 2
0
 public static bool IsNamedFolder(string name)
 {
     return(NamesList.Contains(name));
 }