C# Class PastieAPI.Pastie

Mostra file Open project: brooklynDev/Visual-Pastie

Public Methods

Method Description
Paste ( string code, System.Language language ) : string

Pastes the provided block of code to Pastie using the specified language. Returns the URL to the new pastie.

Method Details

Paste() public static method

Pastes the provided block of code to Pastie using the specified language. Returns the URL to the new pastie.
public static Paste ( string code, System.Language language ) : string
code string The code block to paste. (Note: This will automatically be encoded)
language System.Language The language of the code to paste.
return string