IronPython.Runtime.Binding.MetaPythonFunction.ConvertWorker C# (CSharp) Method

ConvertWorker() public method

public ConvertWorker ( DynamicMetaObjectBinder binder, Type type, ConversionResultKind kind ) : DynamicMetaObject
binder DynamicMetaObjectBinder
type System.Type
kind ConversionResultKind
return DynamicMetaObject
        public DynamicMetaObject ConvertWorker(DynamicMetaObjectBinder binder, Type type, ConversionResultKind kind) {
            if (type.IsSubclassOf(typeof(Delegate))) {
                return MakeDelegateTarget(binder, type, Restrict(typeof(PythonFunction)));
            }
            return FallbackConvert(binder);
        }