15 references to Object
System.Workflow.ComponentModel (15)
AuthoringOM\Design\ComponentSerializationService.cs (11)
640
activity = this.propertySegment.
Object
as Activity;
651
object targetObj = (this.propertySegment == null) ? obj : this.propertySegment.
Object
;
685
Activity activity = (propertySegment != null) ? propertySegment.
Object
as Activity : obj as Activity;
698
TypeConverter converter = TypeDescriptor.GetConverter(propertySegment.
Object
);
701
DummyTypeDescriptorContext dummyContext = new DummyTypeDescriptorContext(propertySegment.ServiceProvider, propertySegment.
Object
, this.realPropDesc);
702
props = converter.GetProperties(dummyContext, propertySegment.
Object
, new Attribute[] { });
705
props = TypeDescriptor.GetProperties(propertySegment.
Object
);
715
DummyTypeDescriptorContext dummyContext = new DummyTypeDescriptorContext(propertySegment.ServiceProvider, propertySegment.
Object
, propDesc);
716
if (propDesc.GetValue(propertySegment.
Object
) != null && propDesc.Converter.GetPropertiesSupported(dummyContext))
718
foreach (PropertyDescriptor childDesc in propDesc.Converter.GetProperties(dummyContext, propDesc.GetValue(propertySegment.
Object
), new Attribute[] { }))
727
destnObject = propertySegment.
Object
;
AuthoringOM\Serializer\PropertySegmentSerializer.cs (4)
151
context = new TypeDescriptorContext(propertyInfo.PropertySegment.ServiceProvider, propertyInfo.PropertySegment.PropertyDescriptor, propertyInfo.PropertySegment.
Object
);
154
else if (propertyInfo.PropertySegment.
Object
!= null)
156
PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(propertyInfo.PropertySegment.
Object
)[propertyInfo.Name];
159
context = new TypeDescriptorContext(propertyInfo.PropertySegment.ServiceProvider, propertyDescriptor, propertyInfo.PropertySegment.
Object
);