示例#1
0
        public GenEntry Clone()
        {
            var res = new GenEntry();

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

            return(res);
        }
示例#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);
        }
示例#3
0
 protected string NewTitle(PwEntry pwEntry, GenEntry genEntry)
 {
     return(String.Join(" / ", NewPath(pwEntry, genEntry)));
 }
示例#4
0
 public abstract UI.GenEntryFormGroup CreateOptionGroup(GenEntry entry);