Exemplo n.º 1
0
 public static object DuckCast(this object instance, Type targetType)
 => DuckType.Create(targetType, instance);
Exemplo n.º 2
0
 public static T DuckCast <T>(this object instance)
 => DuckType.Create <T>(instance);