Click here to Skip to main content
15,881,559 members
Articles / Programming Languages / Visual Basic

Refactoring to Adaptive Object Modeling: Property Pattern

Rate me:
Please Sign up or sign in to vote.
3.81/5 (8 votes)
20 Jun 20057 min read 70.5K   200   30  
This article will deal with Property methodology of Adaptive Object Modeling. Property pattern methodology maintains that the attributes of a class should be held as a collection of properties, as opposed to single instance variables, which can be changed at runtime.
/* *******************************************************
 * This code created and or modified by Chris Lasater
 * http://www.geocities.com/lasaterconsult
 * Please refer all questions or comments to chris.lasater@gmail.com
 * 
 * You can use this code however you like, but please, make sure you give me 
 * credit on any publishings you do from this code. 
 * 
 * No warrenty is implied for any code here.
 * 
 *  ******************************************************* 
 */

using System;

using Properties.Entity;

namespace Properties.ImplClasses
{
	/// <summary>
	/// ExecutiveJobEntityType is the metaclass for the entity.
	/// </summary>
	public class ExecutiveJobEntityType : EntityType
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="name"></param>
		/// <param name="type"></param>
		public ExecutiveJobEntityType(string name, Type type) : base(name,type)
		{
			Console.WriteLine("..." + this.GetType().Name + " initialized.");
		}
	}
}

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
United States United States
Christopher G. Lasater

I am also a published author, please check out my book:
ISBN: 1-59822-031-4
Title: Design Patterns
Author:Christopher G. Lasater
More from my web site
Amazon.com


Comments and Discussions