public GenEntry Clone()
        {
            var res = new GenEntry();

            res.title  = CloneItem(title);
            res.guid   = CloneItem(guid);
            res._props = CloneItem(_props);

            return(res);
        }
Exemple #2
0
        protected List <string> NewPath(PwEntry pwEntry, GenEntry genEntry)
        {
            List <string> parts = new List <string>();

            parts.Add(genEntry.title);

            var group = pwEntry.ParentGroup;

            while (group != null && group.ParentGroup != null)
            {
                parts.Add(group.Name);
                group = group.ParentGroup;
            }

            parts.Reverse();
            return(parts);
        }
Exemple #3
0
 protected string NewTitle(PwEntry pwEntry, GenEntry genEntry)
 {
     return(String.Join(" / ", NewPath(pwEntry, genEntry)));
 }
Exemple #4
0
 public abstract UI.GenEntryFormGroup CreateOptionGroup(GenEntry entry);