Click here to Skip to main content
15,883,705 members
Articles / Desktop Programming / Windows Forms

Traceract

Rate me:
Please Sign up or sign in to vote.
3.69/5 (9 votes)
3 Sep 20059 min read 98.5K   1.6K   37  
A prototype debug tracer with an added dimension.
/*
 * Copyright (c) 2004, 2005 MyXaml
 * All Rights Reserved
 * 
 * Licensed under the terms of the GNU General Public License
 * http://www.gnu.org/licenses/licenses.html#GPL
*/

using System;
using System.Collections;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Windows.Forms;

using MyXaml;

namespace MyXaml.MxWorkflow
{
	/// <summary>
	/// Specifies a module instance, as part of the Modules collection.  Used in the
	/// markup to instantiate a module reference.
	/// </summary>
	public class Module : IMyXaml
	{
		protected string name;
		protected object tag;
		protected string ns;
		protected string cls;

		/// <summary>
		/// Allows application specific tag to be assigned to an instance.
		/// </summary>
		public object Tag
		{
			get {return tag;}
			set {tag=value;}
		}

		/// <summary>
		/// Allows naming of the workflow, for managing in the parser's definition list.
		/// </summary>
		public string Name
		{
			get {return name;}
			set {name=value;}
		}

		/// <summary>
		/// The namespace of the class.
		/// </summary>
		public string Namespace
		{
			get {return ns;}
			set {ns=value;}
		}

		/// <summary>
		/// The class name.
		/// </summary>
		public string Class
		{
			get {return cls;}
			set {cls=value;}
		}

		public Module()
		{
		}
	}
}

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
Architect Interacx
United States United States
Blog: https://marcclifton.wordpress.com/
Home Page: http://www.marcclifton.com
Research: http://www.higherorderprogramming.com/
GitHub: https://github.com/cliftonm

All my life I have been passionate about architecture / software design, as this is the cornerstone to a maintainable and extensible application. As such, I have enjoyed exploring some crazy ideas and discovering that they are not so crazy after all. I also love writing about my ideas and seeing the community response. As a consultant, I've enjoyed working in a wide range of industries such as aerospace, boatyard management, remote sensing, emergency services / data management, and casino operations. I've done a variety of pro-bono work non-profit organizations related to nature conservancy, drug recovery and women's health.

Comments and Discussions