public ManagedExecutionMode GetExecutionMode (ManagedExecution managed) { switch (managed) { case ManagedExecution.Default: return null; case ManagedExecution.Auto: return Auto; case ManagedExecution.Strict: if (Strict != null) return Strict; return Auto; default: throw new NotImplementedException(); } }
public ManagedExecutionMode GetExecutionMode(ManagedExecution managed) { switch (managed) { case ManagedExecution.Default: return(null); case ManagedExecution.Auto: return(Auto); case ManagedExecution.Strict: if (Strict != null) { return(Strict); } return(Auto); default: throw new NotImplementedException(); } }