Пример #1
0
 public static TProperty WithDependingProperty <TProperty>(this TProperty property, INotifiableProperty dependingProperty)
     where TProperty : NotifiableProperty
 {
     property.AddDependingProperty(dependingProperty);
     return(property);
 }
Пример #2
0
        // -------------------------------
        // Populating depending properties
        // -------------------------------

        public void AddDependingProperty(INotifiableProperty property)
        {
            DependingProperties.Add(property);
        }