Click here to Skip to main content
12,889,951 members (45,935 online)
Click here to Skip to main content

Stats

41.1K views
1.9K downloads
17 bookmarked
Posted 1 Oct 2010

Expression Control for TFS Work Items

, 5 Oct 2010 CPOL
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 Function : LogicalExpression
	{
		public Function(string identifier, LogicalExpression[] expressions)
		{
            this.identifier = identifier;
            this.expressions = expressions;
		}

        private string identifier;

        public string Identifier
        {
            get { return identifier; }
            set { identifier = value; }
        }

        private LogicalExpression[] expressions;

        public LogicalExpression[] Expressions
        {
            get { return expressions; }
            set { expressions = 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)

Share

About the Author

konamiman.MSX
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!

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 6 Oct 2010
Article Copyright 2010 by konamiman.MSX
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid