internal override bool TryPopulateValue(LocationEnvironment targetEnvironment, System.Activities.ActivityInstance activityInstance, ActivityContext resolutionContext) { T local; Location <T> location = Argument.CreateLocation <T>(); targetEnvironment.Declare(base.RuntimeArgument, location, activityInstance); if (this.Expression.TryGetValue(resolutionContext, out local)) { location.Value = local; return(true); } return(false); }
internal override Location CreateDefaultLocation() { return(Argument.CreateLocation <T>()); }