Exemple #1
0
function geshi_csharp_unmanaged(&$context)
{
    /** Include the common C# stuff, that is here even though it is unmanaged. */
    require_once GESHI_LANGUAGES_ROOT . 'csharp' . GESHI_DIR_SEP . 'common.php';
    geshi_csharp_common($context);
    // Object separators
    $context->addObjectSplitter('->', 'oopointer', 'symbol');
    // Dynamic (pointer) separator
    $context->addObjectSplitter('::', 'oostatic', 'symbol');
    // Static separator
}
Exemple #2
0
function geshi_csharp_csharp(&$context)
{
    // Do the common processing
    geshi_csharp_common($context);
    // TODO: Add dialects
}