Skip to content

Instantly share code, notes, and snippets.

@ryanrousseau
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanrousseau/10659138 to your computer and use it in GitHub Desktop.
Save ryanrousseau/10659138 to your computer and use it in GitHub Desktop.
using System;
using ScriptCs.Contracts;
namespace ScriptCs.Exec
{
[Module("print", Extensions = "csx")]
public class PrintModule : IModule
{
public void Initialize(IModuleConfiguration config)
{
Console.WriteLine("Print module initialized");
config.LineProcessor<PrintLinePreprocessor>();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment