private TestViewModel( PropertyStub <string> property, TestRevalidationBehavior viewModelBehavior ) : base(DescriptorStub .WithBehaviors(viewModelBehavior) .WithProperties(property) .Build() ) { Property = property; }
private TestViewModel( TestRevalidationBehavior viewModelBehavior, TestRevalidationBehavior propertyBehavior ) : this( PropertyStub.WithBehaviors(propertyBehavior).Of <string>(), viewModelBehavior ) { ViewModelBehavior = viewModelBehavior; PropertyBehavior = propertyBehavior; }