Esempio n. 1
0
        public Either <RfcErrorInfo, IFunctionHandle> CreateFunction(IFunctionDescriptionHandle descriptionHandle)
        {
            Logger.IfSome(l => l.LogTrace("creating function by function description handle", descriptionHandle));
            IFunctionHandle handle = NativeApi.CreateFunction(descriptionHandle as FunctionDescriptionHandle, out var errorInfo);

            return(ResultOrError(handle, errorInfo));
        }