2 using System
.Linq
.Expressions
;
4 public static class NotifyingProperty
6 public static void CreateDependent
<TValue
> (
7 Expression
<Func
<TValue
>> property
,
9 params Expression
<Func
<object>>[] dependents
)
14 public class NotifyingPropertyTest
16 public void CreateDependent_NotifierNull ()
19 NotifyingProperty
.CreateDependent (() => v
, null);
22 public void CreateDependent_DependentsNull ()
24 Expression
<Func
<object>>[] dependents
= null;
26 NotifyingProperty
.CreateDependent (() => v
, () => null, dependents
);
29 public static void Main ()