コード例 #1
0
ファイル: CatalogParser.cs プロジェクト: noah1510/dotdevelop
        protected override bool OnDeletedEntry(string[] deletedLines, string flags,
                                               string[] references, string comment,
                                               string[] autocomments)
        {
            CatalogDeletedEntry d = new CatalogDeletedEntry(new string[0]);

            if (!String.IsNullOrEmpty(flags))
            {
                d.Flags = flags;
            }
            d.SetDeletedLines(deletedLines);
            d.SetComment(comment);
            for (uint i = 0; i < autocomments.Length; i++)
            {
                d.AddAutoComments(autocomments[i]);
            }
            catalog.AddDeletedItem(d);
            return(true);
        }
コード例 #2
0
		 protected override bool OnDeletedEntry (string[] deletedLines, string flags,
		                                        string[] references, string comment,
		                                        string[] autocomments)
		{
			CatalogDeletedEntry d = new CatalogDeletedEntry (new string[0]);
			if (!String.IsNullOrEmpty (flags))
				d.Flags = flags;
			d.SetDeletedLines (deletedLines);
			d.SetComment (comment);
			for (uint i = 0; i < autocomments.Length; i++) {
				d.AddAutoComments (autocomments[i]);
				
			}
			catalog.AddDeletedItem (d);
			return true;
		}