예제 #1
0
 public static Any BuildAny(object value)
 {
     return(new Any()
     {
         Type = Any.Types.Type.Scalar, Scalar = ExprUtil.ArgObjectToScalar(value)
     });
 }
예제 #2
0
 public static Any BuildAnyWithoutEvaluationExpression(object value)
 {
     return(new Any()
     {
         Type = Any.Types.Type.Scalar, Scalar = ExprUtil.ArgObjectToScalar(value, false)
     });
 }