Esempio n. 1
0
		/// <summary>
		/// Assuming the given path is a directory this method will return a 
		/// collection of BinaryReports of the binary diagram in the directory
		/// </summary>
		/// <returns></returns>
		private BinaryReportCollection GetReports()
		{
			string[] files = Directory.GetFiles(path,"*.netron");
			BinaryReportCollection col = new BinaryReportCollection();
			BinaryReport report;
			for(int k=0; k<files.Length; k++)
			{
				report = GetReport(files[k]);
				if(report!=null) col.Add(report);
			}
			return col;
		}
        /// <summary>
        /// Assuming the given path is a directory this method will return a
        /// collection of BinaryReports of the binary diagram in the directory
        /// </summary>
        /// <returns></returns>
        private BinaryReportCollection GetReports()
        {
            string[] files             = Directory.GetFiles(path, "*.netron");
            BinaryReportCollection col = new BinaryReportCollection();
            BinaryReport           report;

            for (int k = 0; k < files.Length; k++)
            {
                report = GetReport(files[k]);
                if (report != null)
                {
                    col.Add(report);
                }
            }
            return(col);
        }