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