Ejemplo n.º 1
0
 public VideoLocal_Place GetBestVideoLocalPlace()
 {
     foreach (VideoLocal_Place p in Places.OrderBy(a => a.ImportFolderType))
     {
         if (p != null)
         {
             if (ResolveFile(p.FullServerPath) != null)
             {
                 return(p);
             }
         }
     }
     return(null);
 }
Ejemplo n.º 2
0
        public IFile GetBestFileLink()
        {
            IFile file = null;

            foreach (VideoLocal_Place p in Places.OrderBy(a => a.ImportFolderType))
            {
                if (p != null)
                {
                    file = ResolveFile(p.FullServerPath);
                    if (file != null)
                    {
                        break;
                    }
                }
            }
            return(file);
        }