Пример #1
0
 // for ArgumentValueSerializer
 internal bool CanConvertToString(IValueSerializerContext context)
 {
     if (this.WasDesignTimeNull)
     {
         return(true);
     }
     else
     {
         if (this.EvaluationOrder == Argument.UnspecifiedEvaluationOrder)
         {
             return(ActivityWithResultValueSerializer.CanConvertToStringWrapper(this.Expression, context));
         }
         else
         {
             return(false);
         }
     }
 }
Пример #2
0
 internal bool CanConvertToString(IValueSerializerContext context)
 {
     return(this.WasDesignTimeNull || ((this.EvaluationOrder == UnspecifiedEvaluationOrder) && ActivityWithResultValueSerializer.CanConvertToStringWrapper(this.Expression, context)));
 }