DynamicRest.XmlNodeList.TryConvert C# (CSharp) Method

TryConvert() public method

public TryConvert ( ConvertBinder binder, object &result ) : bool
binder System.Dynamic.ConvertBinder
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);
        }