2 writes to cachedResolutionContext
System.Activities (2)
System\Activities\Runtime\ActivityExecutor.cs (2)
875
this.
cachedResolutionContext
= new CodeActivityContext(parentInstance, this);
906
this.
cachedResolutionContext
= new CodeActivityContext(parentInstance, this);
10 references to cachedResolutionContext
System.Activities (10)
System\Activities\Runtime\ActivityExecutor.cs (10)
873
if (this.
cachedResolutionContext
== null)
878
this.
cachedResolutionContext
.Reinitialize(parentInstance, this, expressionActivity, instanceId);
882
resultLocation.Value = expressionActivity.InternalExecuteInResolutionContextUntyped(this.
cachedResolutionContext
);
891
this.
cachedResolutionContext
.DisposeDataContext();
894
this.
cachedResolutionContext
.Dispose();
904
if (this.
cachedResolutionContext
== null)
909
this.
cachedResolutionContext
.Reinitialize(parentInstance, this, expressionActivity, parentInstance.InternalId);
913
result = expressionActivity.InternalExecuteInResolutionContext(this.
cachedResolutionContext
);
917
this.
cachedResolutionContext
.Dispose();
948
Fx.Assert(resultArgument.Owner == this.
cachedResolutionContext
.Activity, "GetIgnorableResultLocation should only be called for activity in resolution context");