3 overrides of GetCurrentValue
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
364public override object GetCurrentValue()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
554public override object GetCurrentValue()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
279public override object GetCurrentValue()
145 references to GetCurrentValue
System.Data (145)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\ExpressionSettingHelper.cs (1)
35object root = rootItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Core.Presentation\System\Activities\Core\Presentation\SwitchDesigner.xaml.cs (1)
434object itemKey = caseType.GetProperty("Key").GetGetMethod().Invoke(item.GetCurrentValue(), null);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\WorkflowAnnotationAdornerService.cs (2)
80AttachablePropertyServices.TryGetProperty<string>(modelItem.GetCurrentValue(), Annotation.AnnotationTextProperty, out annotation); 86AttachablePropertyServices.TryGetProperty<string>(modelItem.GetCurrentValue(), Annotation.AnnotationTextProperty, out oldValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\GenericTypeParameterConverter.cs (2)
63value = ((ModelItem)value).GetCurrentValue(); 81value = ((ModelItem)value).GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
86convertedValues.Add(item.GetCurrentValue()); 756converter.GetProperties(item.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyIndexer.cs (1)
267return _modelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
83value = property.Value == null ? null : property.Value.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Interaction\Model\ModelItem.cs (1)
244object instance = this.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
49expression = (ActivityWithResult)valueExpressionModelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (1)
58expression = (Activity)valueExpressionModelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelToObjectValueConverter.cs (1)
22convertedValue = ((ModelItem)value).GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ObjectToModelValueConverter.cs (1)
43returnValue[0] = ((ModelItem)value).GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (1)
34displayName = nameProperty.Value.GetCurrentValue() as string;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (4)
280object currentElement = modelItem.GetCurrentValue(); 297objectsOnClipboard.Add(modelItem.GetCurrentValue()); 343objectsOnClipboard.Add(modelItem.GetCurrentValue()); 358if (modelItemsToCutCopy.Count > 0 && ErrorActivity.GetHasErrorActivities(modelItemsToCutCopy[0].Root.GetCurrentValue()))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (4)
315DeleteFromMapping(modelItem.GetCurrentValue()); 687object addedObject = modelItem.GetCurrentValue(); 737this.instanceToSourceLocationMapping.Remove(resolvedEntry.Key.GetCurrentValue()); 762updatedSourceLocations.Add(key.GetCurrentValue(), sourceLocationWithFileName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
778var wrapper = (DesignObjectWrapper)content.ModelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DynamicActivityPropertyUtilities.cs (1)
17DynamicActivityProperty property = (DynamicActivityProperty)entry.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachablePropertyChange.cs (2)
32AttachablePropertyServices.RemoveProperty(this.Owner.GetCurrentValue(), this.AttachablePropertyIdentifier); 36AttachablePropertyServices.SetProperty(this.Owner.GetCurrentValue(), this.AttachablePropertyIdentifier, this.NewValue);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\DictionaryEditChange.cs (2)
37(oldValue != null && this.NewValue != null && oldValue.GetCurrentValue().Equals(this.NewValue.GetCurrentValue())))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (2)
56object parentObject = this.parentModelTreeItem.ModelItem.GetCurrentValue(); 89this.PropertyDescriptor.SetValue(this.Parent.GetCurrentValue(), (null != this.temporaryValue ? this.temporaryValue.GetCurrentValue() : null));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (6)
127name = (string)this.NameProperty.Value.GetCurrentValue(); 477if (childItem.GetCurrentValue() == value) 514instanceList.Add(item.GetCurrentValue()); 565instanceList.Insert(index, item.GetCurrentValue()); 593int index = instanceList.IndexOf(item.GetCurrentValue()); 594instanceList.Remove(item.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (16)
101itemsCollectionObject = ItemsCollectionModelItemCollection.GetCurrentValue() as IItemsCollection; 189object keyObject = item.Properties["Key"].Value == null ? null : item.Properties["Key"].Value.GetCurrentValue(); 203object keyObject = item.Properties["Key"].Value == null ? null : item.Properties["Key"].Value.GetCurrentValue(); 285name = (string)this.NameProperty.Value.GetCurrentValue(); 668this.instance[(key == null) ? null : key.GetCurrentValue()] = null != value ? value.GetCurrentValue() : null; 683object keyValue = key.GetCurrentValue(); 690found = keyValue.Equals(keyInCollection.GetCurrentValue()); 761object mutableKVPair = Activator.CreateInstance(this.ItemsCollectionKVPType, new object[] { key == null ? null : key.GetCurrentValue(), value != null ? value.GetCurrentValue() : null }); 771this.instance.Add(key == null ? null : key.GetCurrentValue(), null != value ? value.GetCurrentValue() : null); 919object keyValue = key.GetCurrentValue(); 926if (keyValue.Equals(keyInCollection.GetCurrentValue())) 945this.instance.Remove(key == null ? null : key.GetCurrentValue()); 1004if ((p == null && value == null) || (p != null && object.Equals(p.GetCurrentValue(), value)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (6)
77throw FxTrace.Exception.AsError(new KeyNotFoundException(null == oldKey.GetCurrentValue() ? "oldKey" : oldKey.GetCurrentValue().ToString())); 121oldKey = ((ModelItem)oldKey).GetCurrentValue(); 129newKey = ((ModelItem)newKey).GetCurrentValue(); 141newKeyItem = dictionary.Keys.First<ModelItem>(p => object.Equals(p.GetCurrentValue(), newKey)); 527Object root = item.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
116name = (string)this.NameProperty.Value.GetCurrentValue(); 504value = valueModelitem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
75object instance = parent.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (2)
108return value.GetCurrentValue(); 139return modelProp.PropertyDescriptor.ShouldSerializeValue(this.itemProperty.Parent.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (4)
63computedValue = Value.GetCurrentValue(); 201return PropertyReferenceUtilities.GetPropertyReference(parent.GetCurrentValue(), this.Name); 225object newValueInstance = (newValueModelItem == null) ? null : newValueModelItem.GetCurrentValue(); 230this.PropertyDescriptor.SetValue(this.Parent.GetCurrentValue(), newValueInstance);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (2)
120this.objectsOnDesinger.Add(item.GetCurrentValue()); 405DesignTimeArgument designTimeArgument = candidateArgument.GetCurrentValue() as DesignTimeArgument;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
578value = WrapAsModelItem(dataModelProperty.PropertyDescriptor.GetValue(parent.ModelItem.GetCurrentValue())); 761modelItem = FindFirst(this.Root, (m) => { return m.GetCurrentValue() == instance; });
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (4)
67value = item.GetCurrentValue(); 86value = item.GetCurrentValue(); 126value = item.GetCurrentValue(); 220value = item.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
50instance = item.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyChange.cs (2)
42(oldValue != null && this.NewValue != null && oldValue.GetCurrentValue().Equals(this.NewValue.GetCurrentValue())))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\PropertyReferenceChange.cs (1)
31PropertyReferenceUtilities.SetPropertyReference(this.Owner.GetCurrentValue(), this.TargetProperty, this.NewSourceProperty);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (2)
118Fx.Assert(rootModel.GetCurrentValue().GetType() == WorkflowServiceType, "This handler should only be attached when the root is WorkflowService"); 119IDebuggableWorkflowTree root = rootModel.GetCurrentValue() as IDebuggableWorkflowTree;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
103object searchObject = modelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\TypeNameConverter.cs (1)
23type = modelItem.GetCurrentValue() as Type;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (8)
264this.ValidationErrors.TryGetValue(modelItem.GetCurrentValue(), out validationError); 324object root = rootItem.GetCurrentValue(); 536return ModelTreeManager.FindFirst(modelTreeManager.Root, (modelItem) => (modelItem.GetCurrentValue() == errorTarget)); 734foundItem = ModelTreeManager.FindFirst(lowestModelItem, (modelItem) => (modelItem.GetCurrentValue() == errorTarget)); 757foundItem = ModelTreeManager.FindFirst(propertiesModelItem, (modelItem) => (modelItem.GetCurrentValue() == errorTarget)); 763(modelItem) => (modelItem.GetCurrentValue() == errorTarget), 846sourceDetail = modelTreeManager.Root.GetCurrentValue(); 897Activity activity = modelItem.GetCurrentValue() as Activity;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\VariableExpressionConverter.cs (1)
26convertedValue = ((ModelItem)value).GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (5)
307if (object.ReferenceEquals(selectedArgument, item.GetCurrentValue())) 1115result = value.GetCurrentValue(); 1124result = expression.GetCurrentValue(); 1183bool required = isRequired is ModelItem ? (bool)(((ModelItem)isRequired).GetCurrentValue()) : (bool)isRequired; 1363var activity = expression.GetCurrentValue() as ActivityWithResult;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (1)
44values[1] = displayNameProperty.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (2)
474root = rootItem.GetCurrentValue(); 821ActivityWithResult expression = (value as ModelItem).GetCurrentValue() as ActivityWithResult;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (7)
280NamespaceData importedNamespace = item.GetCurrentValue() as NamespaceData; 305NamespaceData namespaceData = namespaceModel.GetCurrentValue() as NamespaceData; 318NamespaceData namespaceData = namespaceModel.GetCurrentValue() as NamespaceData; 478NamespaceData data = modelItem.GetCurrentValue() as NamespaceData; 501NamespaceData data = modelItem.GetCurrentValue() as NamespaceData; 682object root = modelTreeManager.Root.GetCurrentValue(); 756NamespaceList namespaceList = importsCollection.GetCurrentValue() as NamespaceList;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (1)
121toReturn.Add(modelItem.GetCurrentValue() as LocationReference);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (11)
390if (object.ReferenceEquals(selectedVariable, item.GetCurrentValue())) 827if (element.GetCurrentValue() is ActivityDelegate) 877LocationReference locationReference = modelVariable.GetCurrentValue() as LocationReference; 1181modifiers is ModelItem ? (modifiers as ModelItem).GetCurrentValue() : modifiers); 1234ActivityWithResult expression = expressionModelItem.GetCurrentValue() as ActivityWithResult; 1267currentScopeContainer.Remove(this.ReflectedObject.GetCurrentValue()); 1268ModelItem scope = (newScope as ModelItem) ?? Editor.ScopesList.FirstOrDefault(p => object.Equals(p.GetCurrentValue(), newScope)); 1270newScopeContainer.Add(this.ReflectedObject.GetCurrentValue()); 1284object expression = value is ModelItem ? ((ModelItem)value).GetCurrentValue() : value; 1433ModelItem scope = (newValue as ModelItem) ?? Editor.ScopesList.FirstOrDefault(p => object.Equals(p.GetCurrentValue(), newValue)); 1468DesignTimeVariable variable = (DesignTimeVariable)designTimeVariable.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
209string name = (nameModelItem == null) ? null : (string)nameModelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
341string sizeString = (string)(VirtualizedContainerService.GetHintSize(this.modelItem.GetCurrentValue())); 446VirtualizedContainerService.SetHintSize(this.modelItem.GetCurrentValue(), bounds.Size.ToString(CultureInfo.InvariantCulture));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (3)
308Activity expression = this.Expression.GetCurrentValue() as Activity; 1248object expressionObject = this.Expression.GetCurrentValue(); 2031bool includeArguments = !(ownerActivity.GetCurrentValue() is ActivityBuilder);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewStateService.cs (6)
73Dictionary<string, object> viewState = WorkflowViewStateService.GetViewState(modelItem.GetCurrentValue()); 93Dictionary<string, object> viewState = WorkflowViewStateService.GetViewState(modelItem.GetCurrentValue()); 97WorkflowViewStateService.SetViewState(modelItem.GetCurrentValue(), viewState); 125Dictionary<string, object> viewState = WorkflowViewStateService.GetViewState(modelItem.GetCurrentValue()); 131AttachablePropertyServices.RemoveProperty(modelItem.GetCurrentValue(), ViewStateName); 143return WorkflowViewStateService.GetViewState(modelItem.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (1)
626documentPersistenceService.Flush(this.modelTreeManager.Root.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (2)
68return this.modelTreeManager.Root.GetCurrentValue(); 153documentPersistenceService.OnModelChanged(this.modelTreeManager.Root.GetCurrentValue());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.SerializationHelpers.cs (1)
106object rootModelObject = this.modelTreeManager.Root.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (3)
112this.Item.GetCurrentValue() as Activity; 124modelObject = ((ModelItem)droppedObject).GetCurrentValue(); 258if (item.GetCurrentValue() == droppedObjects[0])
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
455return sortedList.Select((m) => m.GetCurrentValue()).ToList();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1093variablePartOfAutomationId = property.Value.GetCurrentValue().ToString();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ActivityBuilderHelper.cs (1)
35instance = (ActivityBuilder)astAsModelItem.GetCurrentValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ObjectToSourceLocationMapping.cs (2)
78string workflowViewStateIdRef = WorkflowViewState.GetIdRef(modelItem.GetCurrentValue()); 167object modelObject = modelItem.GetCurrentValue();