Пример #1
0
 public virtual bool IncludeFile(DeployFile file)
 {
     if (fileFilter != null)
     {
         return(fileFilter.IsFileIncluded(file));
     }
     else
     {
         return(true);
     }
 }
        void FillFiles()
        {
            store.Clear();
            if (comboConfigs.Active == -1)
            {
                return;
            }

            files = builder.GetDeployFiles(context, (SolutionConfigurationSelector)comboConfigs.ActiveText);

            foreach (DeployFile file in files)
            {
                string desc = GetDirectoryName(file.TargetDirectoryID);
                store.AppendValues(file, file.DisplayName, desc, file.RelativeTargetPath.ToString(), file.SourceSolutionItem.Name, builder.IsFileIncluded(file));
            }
        }