Function: org-babel-csharp--format-usings

org-babel-csharp--format-usings is a byte-compiled function defined in ob-csharp.el.gz.

Signature

(org-babel-csharp--format-usings USINGS)

Documentation

Format USINGS into a string suitable for inclusion in a C# source file.

USINGS should be a list of strings, each representing a using directive. Returns a string with each using directive on a new line.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-csharp.el.gz
(defun org-babel-csharp--format-usings (usings)
  "Format USINGS into a string suitable for inclusion in a C# source file.

USINGS should be a list of strings, each representing a using directive.
Returns a string with each using directive on a new line."
  (mapconcat
   (lambda (u)
     (unless (stringp u) (error "Usings must be of type string."))
     (format "using %s;" u))
   usings "\n"))