Click here to Skip to main content
15,885,767 members
Articles / Programming Languages / C#

Expression Control for TFS Work Items

Rate me:
Please Sign up or sign in to vote.
4.55/5 (8 votes)
5 Oct 2010CPOL16 min read 65.9K   2.1K   17  
Custom control for TFS Work Items that shows the result of calculating an expression based on the work item fields contents
using System;

namespace Evaluant.Calculator.Domain
{
	public class Parameter : LogicalExpression
	{
		public Parameter(string name)
		{
            this.name = name;
		}

        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }


        public override void Accept(LogicalExpressionVisitor visitor)
        {
            visitor.Visit(this);
        }
    }
}

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer SunHotels
Spain Spain
Under the secret identity of a C# programmer, a freaky guy who loves MSX computers and japanese culture is hidden. Beware!

Comments and Discussions