1 write to serializationManager
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (1)
2885
this.
serializationManager
= serializationManager;
26 references to serializationManager
System.Workflow.ComponentModel (26)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (26)
2889
this.contentProperty = GetContentProperty(this.
serializationManager
, this.parentObject);
2892
this.contentPropertySerializer = this.
serializationManager
.GetSerializer(this.contentProperty.PropertyType, typeof(WorkflowMarkupSerializer)) as WorkflowMarkupSerializer;
2897
XmlReader reader = this.
serializationManager
.WorkflowMarkupStack[typeof(XmlReader)] as XmlReader;
2931
this.contentPropertySerializer.OnBeforeDeserialize(this.
serializationManager
, contentPropertyValue);
2932
this.contentPropertySerializer.OnBeforeDeserializeContents(this.
serializationManager
, contentPropertyValue);
2938
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e));
2943
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerNotAvailableForSerialize, this.contentProperty.PropertyType.FullName)));
2950
XmlReader reader = this.
serializationManager
.WorkflowMarkupStack[typeof(XmlReader)] as XmlReader;
2957
this.contentPropertySerializer.OnAfterDeserialize(this.
serializationManager
, contentPropertyValue);
2961
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e));
2980
value = this.parentObjectSerializer.GetChildren(this.
serializationManager
, this.parentObject);
2996
this.parentObjectSerializer.AddChild(this.
serializationManager
, this.parentObject, contentInfo.Content);
3002
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition));
3012
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentPropertyCanNotBeNull, this.contentProperty.Name, this.parentObject.GetType().FullName)));
3022
this.contentPropertySerializer.AddChild(this.
serializationManager
, propertyValue, contentInfo.Content);
3028
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[i].LineNumber, contents[i].LinePosition));
3035
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentPropertyNoSetter, this.contentProperty.Name, this.parentObject.GetType()), contents[0].LineNumber, contents[0].LinePosition));
3040
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentPropertyNoMultipleContents, this.contentProperty.Name, this.parentObject.GetType()), contents[1].LineNumber, contents[1].LinePosition));
3047
content = this.contentPropertySerializer.DeserializeFromString(this.
serializationManager
, this.contentProperty.PropertyType, content as string);
3048
content = WorkflowMarkupSerializer.GetValueFromMarkupExtension(this.
serializationManager
, content);
3052
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[0].LineNumber, contents[0].LinePosition));
3059
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentCanNotBeConverted, content as string, contentProperty.Name, this.parentObject.GetType().FullName, this.contentProperty.PropertyType.FullName), contents[0].LineNumber, contents[0].LinePosition));
3063
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_ContentPropertyValueInvalid, content.GetType(), this.contentProperty.Name, this.contentProperty.PropertyType.FullName), contents[0].LineNumber, contents[0].LinePosition));
3071
content = new WorkflowMarkupSerializer().DeserializeFromString(this.
serializationManager
, this.contentProperty.PropertyType, content as string);
3072
content = WorkflowMarkupSerializer.GetValueFromMarkupExtension(this.
serializationManager
, content);
3078
this.
serializationManager
.ReportError(new WorkflowMarkupSerializationException(SR.GetString(SR.Error_SerializerThrewException, this.parentObject.GetType(), e.Message), e, contents[0].LineNumber, contents[0].LinePosition));