Exemplo n.º 1
0
 public File(string path, FileInfoBase info, LocalFileSource source)
 {
     this.Path   = path;
     this.Name   = Paths.GetFileNameWithoutExtension(path);
     this.Type   = info;
     this.Source = source;
 }
Exemplo n.º 2
0
            public Directory(string path, LocalFileSource source)
            {
                while (path.EndsWith('\\'))
                {
                    path = path.Substring(0, path.Length - 1);
                }

                this.Path   = path;
                this.Name   = Paths.GetFileName(path);
                this.Source = source;
            }
Exemplo n.º 3
0
 public Directory(string path, LocalFileSource source)
 {
     this.Path   = path;
     this.Name   = Paths.GetFileName(path);
     this.Source = source;
 }