Beispiel #1
0
 public void DifferentValueTypesAreNotBindable()
 {
     Assert.That(IdentityValueBinding.TryBind(typeof(int), typeof(long)), Is.Null);
 }
Beispiel #2
0
 public void DifferentReferenceTypesAreNotBindable()
 {
     Assert.That(IdentityValueBinding.TryBind(typeof(object), typeof(Array)), Is.Null);
 }
Beispiel #3
0
 protected override DuckValueBindingOption TryBind(Type fromType, Type toType)
 {
     return(IdentityValueBinding.TryBind(fromType, toType));
 }