Beispiel #1
0
 public static void Distributed(RoslynCompiler compiler, Scope props)
 {
     ConcurrentExtension.Apply(compiler, new Options
     {
         GenerateInterface = true,
         GenerateRemote    = true,
     }, props);
 }
Beispiel #2
0
 public static void Console(RoslynCompiler compiler, Scope props)
 {
     ConcurrentExtension.Apply(compiler, new Options
     {
         GenerateAppProgram     = true,
         GenerateAppConstructor = false,
     }, props);
 }
Beispiel #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);
 }
Beispiel #4
0
 public static void Default(RoslynCompiler compiler, Scope scope)
 {
     ConcurrentExtension.Apply(compiler, scope);
 }