1 write to ReflectedObject
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
89
this.
ReflectedObject
= reflectedObject;
88 references to ReflectedObject
System.Data (88)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (3)
92
this.
ReflectedObject
.PropertyChanged += OnReflectedObjectPropertyChanged;
359
if (null != this.
ReflectedObject
&& !this.isDisposed)
362
this.
ReflectedObject
.PropertyChanged -= this.OnReflectedObjectPropertyChanged;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
406
if (designTimeArgument.
ReflectedObject
== argument)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (44)
221
if (object.ReferenceEquals(((DesignTimeArgument)item).
ReflectedObject
, argument))
364
.FirstOrDefault(p => (ModelItem.Equals(p.
ReflectedObject
, argument)));
377
var wrapper = this.argumentWrapperCollection.FirstOrDefault(p => ModelItem.Equals(p.
ReflectedObject
, argument));
395
this.ClearCaseInsensitiveDuplicates(arg.GetArgumentName(), (string)arg.
ReflectedObject
.Properties["Name"].ComputedValue);
398
ModelItemCollection collection = (ModelItemCollection)arg.
ReflectedObject
.Parent;
399
collection.Remove(arg.
ReflectedObject
);
407
this.CheckCaseInsensitiveDuplicates(arg.GetArgumentName(), (string)arg.
ReflectedObject
.Properties["Name"].ComputedValue);
472
Func<DesignTimeArgument, bool> checkForDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.
ReflectedObject
.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifierName));
491
Func<DesignTimeArgument, bool> checkForOldNameDuplicates = new Func<DesignTimeArgument, bool>(p => string.Equals((string)p.
ReflectedObject
.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetArgumentName(), identifier));
539
ModelItem argument = argumentWrapper.
ReflectedObject
;
622
list.Add(designTimeArgument.
ReflectedObject
);
630
if (designTimeArgument.
ReflectedObject
== modelItem)
776
this.
ReflectedObject
.Properties["Attributes"].Collection.CollectionChanged += new NotifyCollectionChangedEventHandler(OnAttributesChanged);
790
this.
ReflectedObject
.Properties["Attributes"].Collection.CollectionChanged -= new NotifyCollectionChangedEventHandler(OnAttributesChanged);
919
return (string)this.
ReflectedObject
.Properties[ArgumentNameProperty].ComputedValue;
935
ModelProperty property = this.
ReflectedObject
.Properties.Find(Annotation.AnnotationTextPropertyName);
949
ModelProperty property = this.
ReflectedObject
.Properties.Find(Annotation.AnnotationTextPropertyName);
959
using (ModelEditingScope scope = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeArgumentNameDescription")))
963
this.Editor.UpdateArgumentName(this, name, (string)this.
ReflectedObject
.Properties[ArgumentNameProperty].ComputedValue);
971
Type result = (Type)this.
ReflectedObject
.Properties["Type"].ComputedValue;
981
using (ModelEditingScope scope = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeArgumentTypeDescription")))
985
this.
ReflectedObject
.Properties["Type"].SetValue(propertyType);
995
Type argumentType = (Type)this.
ReflectedObject
.Properties["Type"].ComputedValue;
1013
using (ModelEditingScope scope = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeArgumentDirectionDescription")))
1017
this.
ReflectedObject
.Properties["Type"].SetValue(propertyType);
1104
this.
ReflectedObject
.Properties[DesignTimeArgument.ArgumentDefaultValueProperty].SetValue(value);
1109
ModelItem value = this.
ReflectedObject
.Properties[DesignTimeArgument.ArgumentDefaultValueProperty].Value;
1154
ModelItemCollection attributes = this.
ReflectedObject
.Properties["Attributes"].Collection;
1160
ModelItemCollection attributes = this.
ReflectedObject
.Properties["Attributes"].Collection;
1161
using (ModelEditingScope scope = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeArgumentIsRequiredDescription")))
1170
ModelItemCollection attributes = this.
ReflectedObject
.Properties["Attributes"].Collection;
1171
using (ModelEditingScope scope = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeArgumentIsRequiredDescription")))
1203
return this.
ReflectedObject
.Parent.Parent;
1299
ModelItemCollection argumentCollection = (ModelItemCollection)this.
ReflectedObject
.Parent;
1302
argumentCollection.Any<ModelItem>(p => string.Equals(p.Properties["Name"].ComputedValue, name) && !ModelItem.Equals(p, this.
ReflectedObject
));
1361
if (this.
ReflectedObject
.TryGetPropertyValue(out expression, ArgumentDefaultValueProperty, "Expression") && null != expression)
1391
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].SetValue(value);
1396
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].ClearValue();
1401
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].ClearValue();
1406
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].ClearValue();
1411
Argument currentArgument = this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].ComputedValue as Argument;
1436
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].SetValue(newArgument);
1441
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].ClearValue();
1446
this.
ReflectedObject
.Properties[ArgumentDefaultValueProperty].ClearValue();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1031
return designObjectWrapper.
ReflectedObject
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (39)
141
ModelItemCollection container = VariableHelper.GetVariableCollection(oldVariableWrapper.
ReflectedObject
.Parent.Parent);
142
index = container.IndexOf(oldVariableWrapper.
ReflectedObject
);
151
this.variableToSelect = null != variable ? variable.
ReflectedObject
: null;
160
Func<DesignTimeVariable, bool> checkForDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.
ReflectedObject
.Properties["Name"].ComputedValue, newName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifierName));
179
Func<DesignTimeVariable, bool> checkForOldNameDuplicates = new Func<DesignTimeVariable, bool>(p => string.Equals((string)p.
ReflectedObject
.Properties["Name"].ComputedValue, oldName, StringComparison.OrdinalIgnoreCase) && !object.Equals(p.GetVariableName(), identifier));
290
if (object.ReferenceEquals(((DesignTimeVariable)item).
ReflectedObject
, variable))
420
.FirstOrDefault<DesignTimeVariable>(p => (ModelItem.Equals(p.
ReflectedObject
, variable)));
451
DesignTimeVariable wrapper = this.variableWrapperCollection.FirstOrDefault(p => ModelItem.Equals(p.
ReflectedObject
, variable));
476
this.ClearCaseInsensitiveDuplicates(arg.GetVariableName(), (string)arg.
ReflectedObject
.Properties["Name"].ComputedValue);
477
ModelItemCollection collection = (ModelItemCollection)arg.
ReflectedObject
.Parent;
478
collection.Remove(arg.
ReflectedObject
);
486
this.CheckCaseInsensitiveDuplicates(var.GetVariableName(), (string)var.
ReflectedObject
.Properties["Name"].ComputedValue);
632
list.Add(designTimeVariable.
ReflectedObject
);
640
if (designTimeVariable.
ReflectedObject
== modelItem)
1133
using (ModelEditingScope change = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeVariableNameDescription")))
1137
this.Editor.NotifyVariableNameChanged(this.identifierName, name, (string)this.
ReflectedObject
.Properties[VariableNameProperty].ComputedValue);
1138
this.
ReflectedObject
.Properties[VariableNameProperty].SetValue(name);
1151
return (string)this.
ReflectedObject
.Properties[VariableNameProperty].ComputedValue;
1180
this.
ReflectedObject
.Properties[VariableModifiersProperty].SetValue(
1186
return this.
ReflectedObject
.Properties[VariableModifiersProperty].ComputedValue;
1192
ModelItem parent = this.
ReflectedObject
.Parent;
1216
using (ModelEditingScope change = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeVariableTypeDescription")))
1219
ModelItemCollection variableContainer = (ModelItemCollection)this.
ReflectedObject
.Parent;
1231
ModelItem expressionModelItem = this.
ReflectedObject
.Properties[VariableDefaultProperty].Value;
1257
return (Type)this.
ReflectedObject
.Properties[VariableTypeProperty].ComputedValue;
1262
using (ModelEditingScope change = this.
ReflectedObject
.BeginEdit((string)this.Editor.FindResource("changeVariableScopeDescription")))
1266
ModelItemCollection currentScopeContainer = this.
ReflectedObject
.Parent.Parent.Properties["Variables"].Collection;
1267
currentScopeContainer.Remove(this.
ReflectedObject
.GetCurrentValue());
1270
newScopeContainer.Add(this.
ReflectedObject
.GetCurrentValue());
1279
return this.
ReflectedObject
.Parent.Parent;
1285
this.
ReflectedObject
.Properties[VariableDefaultProperty].SetValue(expression);
1290
return this.
ReflectedObject
.Properties[VariableDefaultProperty].ComputedValue;
1295
ModelItem s = this.
ReflectedObject
.Parent.Parent;
1302
ModelProperty property = this.
ReflectedObject
.Properties.Find(Annotation.AnnotationTextPropertyName);
1316
ModelProperty property = this.
ReflectedObject
.Properties.Find(Annotation.AnnotationTextPropertyName);
1398
if (!base.IsUndoRedoInProgress && null != this.
ReflectedObject
.Parent)
1412
new Func<ModelItem, bool>(p => string.Equals(p.Properties[VariableNameProperty].ComputedValue, newName) && !object.Equals(p, this.
ReflectedObject
));
1414
bool duplicates = this.
ReflectedObject
.Parent.Parent.Properties["Variables"].Collection.Any(checkForDuplicates);
1437
new Func<ModelItem, bool>(p => string.Equals(p.Properties[VariableNameProperty].ComputedValue, currentName) && !object.Equals(p, this.
ReflectedObject
));