main
1using System.Reflection;
2
3namespace solidware.financials.service.domain.property_bag
4{
5 public class PropertyReference<Target> : Property
6 {
7 readonly PropertyInfo property;
8
9 public PropertyReference(PropertyInfo property)
10 {
11 this.property = property;
12 }
13
14 public bool represents(string name)
15 {
16 return string.Compare(property.Name, name, true) == 0;
17 }
18 }
19}