DynamicRest.XmlNodeList.TryConvert C# (CSharp) 메소드

TryConvert() 공개 메소드

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