Exemple #1
0
 public static DependencyProperty <TValueType> RegisterAttached <TValueType>(
     string name,
     TValueType defaultValue,
     PropertyChanged <DependencyObject, TValueType>?onChange = null,
     ValidateValue <DependencyObject, TValueType>?validate   = null
     )
 => DependencyProperty.RegisterAttached <T, TValueType>(name, defaultValue, onChange, validate);
Exemple #2
0
 public void Constructor_ReturnsInterfaceName(ValidateValue sut)
 {
     sut.Should().BeAssignableTo <IValidateValue>();
 }