Exemplo n.º 1
0
 internal ScribanResult(ScribanResultType resultType, ScribanRuntime runtime, ScribanTemplate template, string message) : this(resultType, runtime, template)
 {
     if (resultType == ScribanResultType.Success)
     {
         Output = message;
     }
     else
     {
         Error = message;
     }
 }
Exemplo n.º 2
0
 ScribanResult(ScribanResultType resultType, ScribanRuntime runtime, ScribanTemplate template)
 {
     ResultType = resultType;
     Runtime    = runtime;
     Template   = template;
 }