6 writes to Value
System.Activities (6)
System\Activities\Activity.cs (1)
1873return new Literal<TResult> { Value = constValue };
System\Activities\Expressions\ExpressionServices.cs (1)
134result = new Literal<TResult> { Value = (TResult)constantExpressionBody.Value };
System\Activities\Expressions\Literal.cs (1)
33this.Value = value;
System\Activities\InArgument.cs (2)
88this.Expression = new Literal<T> { Value = constValue }; 199Expression = new Literal<T> { Value = constValue }
System\Activities\XamlIntegration\ActivityWithResultConverter.cs (1)
171return new Literal<T> { Value = literalValue };
13 references to Value
System.Activities (13)
System\Activities\Expressions\Literal.cs (13)
54return this.Value; 59return this.Value == null ? "null" : this.Value.ToString(); 68if (this.Value == null) 74valueType = this.Value.GetType(); 78string myValue = this.Value as string; 93DateTime literalValue = (DateTime)(object)this.Value; 99DateTimeOffset literalValue = (DateTimeOffset)(object)this.Value; 151if (this.Value == null) 157valueType = this.Value.GetType(); 169string originalString = Convert.ToString(this.Value); 175return converter.ConvertToString(context, this.Value); 181return !object.Equals(this.Value, default(T));