예제 #1
0
 public TexoConfiguration SetRuntime(TexoRuntime value)
 {
     return(new TexoConfiguration(this)
     {
         runtime = value
     });
 }
예제 #2
0
 public TexoConfiguration(Builder builder)
 {
     runtime     = builder.Runtime.ToImmutable();
     environment = builder.Environment.ToImmutable();
     ui          = builder.Ui.ToImmutable();
 }
예제 #3
0
 public TexoConfiguration(TexoConfiguration toClone)
 {
     runtime     = toClone.runtime;
     environment = toClone.environment;
     ui          = toClone.ui;
 }
예제 #4
0
 private TexoConfiguration()
 {
     runtime     = TexoRuntime.Empty;
     environment = TexoEnvironment.Empty;
     ui          = TexoUi.Empty;
 }
예제 #5
0
 internal Builder(TexoRuntime immutable)
 {
     Commands       = immutable.commands.ToBuilder();
     DefaultCommand = immutable.defaultCommand;
 }
예제 #6
0
 private TexoRuntime(TexoRuntime toClone)
 {
     commands       = toClone.commands;
     defaultCommand = toClone.defaultCommand;
 }