public TryConvert ( |
||
binder | ||
result | object | |
return | bool |
public override bool TryConvert(ConvertBinder binder, out object result)
{
Type targetType = binder.Type;
if (targetType == typeof(IEnumerable)) {
result = this;
return true;
}
return base.TryConvert(binder, out result);
}