Exemplo n.º 1
0
        //--------------------------------------------------
        protected string BuildFullPath(DossierInfo info)
        {
            List <string> paths = new List <string>();

            while (info != null)
            {
                paths.Add(info.Name);
                info = info.Parent;
            }
            paths.Reverse();
            string fullPath = "";

            foreach (string path in paths)
            {
                fullPath = Path.Combine(fullPath, path);
            }
            return(fullPath);
        }
Exemplo n.º 2
0
 public DossierEventArgs(DossierInfo item, DossierEventTypes type)
 {
     EventType = type;
     Item      = item;
     Message   = String.Format("{0} {1}", EventType, item.FullPath);
 }
Exemplo n.º 3
0
 public DossierEventArgs(DossierInfo item)
 {
     EventType = DossierEventTypes.Created;
     Item      = item;
     Message   = String.Format("{0} {1}", EventType, item.FullPath);
 }