Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/DataSources/OneDimensional/Mapping.cs @ 12503

Last change on this file since 12503 was 12503, checked in by aballeit, 9 years ago

#2283 added GUI and charts; fixed MCTS

File size: 608 bytes
Line 
1using System;
2using System.Windows;
3
4namespace Microsoft.Research.DynamicDataDisplay.DataSources
5{
6    /// <summary>Mapping class holds information about mapping of TSource type
7    /// to some DependencyProperty.</summary>
8    /// <typeparam name="TSource">Mapping source type.</typeparam>
9  internal sealed class Mapping<TSource> {
10        /// <summary>Property that will be set.</summary>
11    internal DependencyProperty Property { get; set; }
12        /// <summary>Function that computes value for property from TSource type.</summary>
13    internal Func<TSource, object> F { get; set; }
14  }
15}
Note: See TracBrowser for help on using the repository browser.