This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#print hello world | |
Console.WriteLine("Done"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using ScriptCs.Contracts; | |
namespace ScriptCs.Exec | |
{ | |
public class PrintLinePreprocessor : DirectiveLineProcessor | |
{ | |
public PrintLinePreprocessor() | |
{ | |
Console.WriteLine("PrintLinePreprocessor created"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using ScriptCs.Contracts; | |
namespace ScriptCs.Exec | |
{ | |
[Module("print", Extensions = "csx")] | |
public class PrintModule : IModule | |
{ | |
public void Initialize(IModuleConfiguration config) | |
{ |
NewerOlder