Rev | Line | |
---|
[12503] | 1 | using System;
|
---|
| 2 | using System.Windows;
|
---|
| 3 |
|
---|
| 4 | namespace 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.