Ejemplo n.º 1
0
 /// <summary>
 /// Marks a collection object
 /// that all contained items implementing INPC should
 /// be tracked as well.
 /// </summary>
 /// <returns>The same instance of the <see cref="ExpressionPreconfiguration"/>
 /// type, which holds preconfiguration options</returns>
 public ExpressionPreconfiguration TrackItems <TItem>(params Expression <Func <TItem, object> >[] propertiesToTrack)
 {
     this.Options = MarkerMethods.TrackItems(this.Options, propertiesToTrack);
     return(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Marks a collection object
 /// that all contained items implementing INPC should
 /// be tracked as well.
 /// </summary>
 /// <returns>The same instance of the <see cref="ExpressionPreconfiguration"/>
 /// type, which holds preconfiguration options</returns>
 public ExpressionPreconfiguration TrackItems()
 {
     this.Options = MarkerMethods.TrackItems(this.Options, PropertyTrackingInfo.TrackAll);
     return(this);
 }