Click here to Skip to main content
15,894,825 members
Articles / Programming Languages / C#

Using attributes to document alterations

Rate me:
Please Sign up or sign in to vote.
3.33/5 (3 votes)
27 May 20033 min read 38.5K   377   11  
Using attributes to solve subjects linked to the daily work of software maintenance.
using System;
using System.Collections;

namespace Palla.DocGen.App
{
	#region NoticeFaultsEventArgs

	public class NoticeFaultsEventArgs : EventArgs
	{
		private ArrayList messages = new ArrayList();

		#region Constructors

		public NoticeFaultsEventArgs(ArrayList messages)
		{
			this.messages.AddRange(messages);
		}

		#endregion

		#region Properties

		public ArrayList FaultsMessages
		{
			get {return this.messages;}
		}

		#endregion
	}

	#endregion

	#region NoticeStartProcessEventArgs

	public class NoticeStartProcessEventArgs : EventArgs
	{
		private int limit = 0;

		#region Constructors

		public NoticeStartProcessEventArgs(int limit)
		{
			this.limit = limit;
		}

		#endregion

		#region Properties

		public int MaxLimitProcess
		{
			get {return this.limit;}
			set {this.limit = value;}
		}

		#endregion
	}

	#endregion
	
	public delegate void NoticeFaultsEventHandler(object sender, NoticeFaultsEventArgs e);
	public delegate void NoticeStartProcessEventHandler(object sender, NoticeStartProcessEventArgs e);
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Brazil Brazil
To develop software is the best work of the world!

Comments and Discussions