示例#1
0
 public static void Distributed(RoslynCompiler compiler, Scope props)
 {
     ConcurrentExtension.Apply(compiler, new Options
     {
         GenerateInterface = true,
         GenerateRemote    = true,
     }, props);
 }
示例#2
0
 public static void Console(RoslynCompiler compiler, Scope props)
 {
     ConcurrentExtension.Apply(compiler, new Options
     {
         GenerateAppProgram     = true,
         GenerateAppConstructor = false,
     }, props);
 }
示例#3
0
 public static void Performance(RoslynCompiler compiler, Scope props)
 {
     ConcurrentExtension.Apply(compiler, new Options
     {
         GenerateAppProgram     = true, //td
         GenerateAppConstructor = false,
         BlockUntilNextEvent    = false,
         AsFastAsPossible       = true,
         GenerateInterface      = false,
         GenerateRemote         = false,
     }, props);
 }
示例#4
0
 public static void Default(RoslynCompiler compiler, Scope scope)
 {
     ConcurrentExtension.Apply(compiler, scope);
 }