public static Constraint ObsoleteEvent(this Must.NotRaiseEntryPoint entryPoint) { return(new ObsoleteCurrencyRaisedConstraint(0)); }
/// <summary> /// Builds an instance of <see cref="PropertyChangingConstraint{TSubject}"/> that allows checking whether a type does not raise a /// <see cref="INotifyPropertyChanging.PropertyChanging"/> when a property is set. /// </summary> /// <typeparam name="TSubject">Type that does not raise the <see cref="INotifyPropertyChanging.PropertyChanging"/> event.</typeparam> /// <param name="entry">Extension entry point.</param> /// <param name="subject"> Instance of the type not raising the event.</param> /// <returns>Instance built.</returns> public static NoPropertyChangingConstraint <TSubject> PropertyChanging <TSubject>(this Must.NotRaiseEntryPoint entry, TSubject subject) where TSubject : INotifyPropertyChanging { return(new NoPropertyChangingConstraint <TSubject>(subject)); }