public static TProperty WithDependingProperty <TProperty>(this TProperty property, INotifiableProperty dependingProperty) where TProperty : NotifiableProperty { property.AddDependingProperty(dependingProperty); return(property); }
// ------------------------------- // Populating depending properties // ------------------------------- public void AddDependingProperty(INotifiableProperty property) { DependingProperties.Add(property); }