Exemplo n.º 1
0
        public static void Apply(ExcessCompiler compiler, Scope scope = null)
        {
            scope?.AddKeywords("injector");

            compiler.extension("injector", ParseDependencyInjector);
            compiler.Environment()
            .dependency("Excess.Runtime")
            .dependency("Ninject");
        }
Exemplo n.º 2
0
 public static void Apply(ExcessCompiler compiler, Scope scope = null)
 {
     scope?.AddKeywords("model");
     compiler.extension("model", ParseModel);
 }
Exemplo n.º 3
0
        public static void Apply(ExcessCompiler compiler, Scope scope = null)
        {
            scope?.AddKeywords("contract");

            compiler.extension("contract", ParseContract);
        }