//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1378
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Xml.Serialization;
using System.ServiceModel;
using System.IO;
using System.Xml;
using System.ServiceModel.Channels;
//
// This source code was auto-generated by xsd, Version=3.5.20706.1.
//
namespace dasBlog.Storage{
[System.SerializableAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
[XmlRootAttribute("EndpointReference", Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing", IsNullable = false)]
public sealed class EndpointReferenceType
{
private static XmlSerializer _serializer = new XmlSerializer(typeof(EndpointReferenceType));
private AttributedURI addressField;
private ReferencePropertiesType referencePropertiesField;
private ReferenceParametersType referenceParametersField;
private AttributedQName portTypeField;
private ServiceNameType serviceNameField;
private System.Xml.XmlElement[] anyField;
private System.Xml.XmlAttribute[] anyAttrField;
/// <remarks/>
public AttributedURI Address
{
get
{
return this.addressField;
}
set
{
this.addressField = value;
}
}
/// <remarks/>
public ReferencePropertiesType ReferenceProperties
{
get
{
return this.referencePropertiesField;
}
set
{
this.referencePropertiesField = value;
}
}
/// <remarks/>
public ReferenceParametersType ReferenceParameters
{
get
{
return this.referenceParametersField;
}
set
{
this.referenceParametersField = value;
}
}
/// <remarks/>
public AttributedQName PortType
{
get
{
return this.portTypeField;
}
set
{
this.portTypeField = value;
}
}
/// <remarks/>
public ServiceNameType ServiceName
{
get
{
return this.serviceNameField;
}
set
{
this.serviceNameField = value;
}
}
/// <remarks/>
[XmlAnyElementAttribute()]
public System.Xml.XmlElement[] Any
{
get
{
return this.anyField;
}
set
{
this.anyField = value;
}
}
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
public static EndpointReferenceType FromEndpointAddress(EndpointAddress endpointAddress)
{
using ( MemoryStream memStream = new MemoryStream() )
using (XmlDictionaryWriter writer = XmlDictionaryWriter.CreateBinaryWriter(memStream))
{
endpointAddress.WriteTo(AddressingVersion.WSAddressingAugust2004,writer);
writer.Flush();
memStream.Position = 0;
using (XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(memStream, new XmlDictionaryReaderQuotas()))
{
return _serializer.Deserialize(reader) as EndpointReferenceType;
}
}
}
public static EndpointAddress ToEndpointAddress(EndpointReferenceType endpointReference)
{
using (MemoryStream memStream = new MemoryStream())
using (XmlDictionaryWriter writer = XmlDictionaryWriter.CreateBinaryWriter(memStream))
{
_serializer.Serialize(writer, endpointReference);
writer.Flush();
memStream.Position = 0;
using (XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(memStream, new XmlDictionaryReaderQuotas()))
{
return EndpointAddress.ReadFrom(AddressingVersion.WSAddressingAugust2004, reader);
}
}
}
public EndpointAddress ToEndpointAddress()
{
return ToEndpointAddress(this);
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
[XmlRootAttribute("MessageID", Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing", IsNullable = false)]
public partial class AttributedURI
{
private System.Xml.XmlAttribute[] anyAttrField;
private string valueField;
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
/// <remarks/>
[XmlTextAttribute(DataType = "anyURI")]
public string Value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public partial class ServiceNameType
{
private string portNameField;
private System.Xml.XmlAttribute[] anyAttrField;
private System.Xml.XmlQualifiedName valueField;
/// <remarks/>
[XmlAttributeAttribute(DataType = "NCName")]
public string PortName
{
get
{
return this.portNameField;
}
set
{
this.portNameField = value;
}
}
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
/// <remarks/>
[XmlTextAttribute()]
public System.Xml.XmlQualifiedName Value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public partial class AttributedQName
{
private System.Xml.XmlAttribute[] anyAttrField;
private System.Xml.XmlQualifiedName valueField;
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
/// <remarks/>
[XmlTextAttribute()]
public System.Xml.XmlQualifiedName Value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public partial class ReferenceParametersType
{
private System.Xml.XmlElement[] anyField;
/// <remarks/>
[XmlAnyElementAttribute()]
public System.Xml.XmlElement[] Any
{
get
{
return this.anyField;
}
set
{
this.anyField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public partial class ReferencePropertiesType
{
private System.Xml.XmlElement[] anyField;
/// <remarks/>
[XmlAnyElementAttribute()]
public System.Xml.XmlElement[] Any
{
get
{
return this.anyField;
}
set
{
this.anyField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
[XmlRootAttribute("RelatesTo", Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing", IsNullable = false)]
public partial class Relationship
{
private System.Xml.XmlQualifiedName relationshipTypeField;
private System.Xml.XmlAttribute[] anyAttrField;
private string valueField;
/// <remarks/>
[XmlAttributeAttribute()]
public System.Xml.XmlQualifiedName RelationshipType
{
get
{
return this.relationshipTypeField;
}
set
{
this.relationshipTypeField = value;
}
}
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
/// <remarks/>
[XmlTextAttribute(DataType = "anyURI")]
public string Value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
[XmlRootAttribute("ReplyAfter", Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing", IsNullable = false)]
public partial class ReplyAfterType
{
private System.Xml.XmlAttribute[] anyAttrField;
private string valueField;
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
/// <remarks/>
[XmlTextAttribute(DataType = "nonNegativeInteger")]
public string Value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
/// <remarks/>
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[XmlTypeAttribute(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
[XmlRootAttribute("RetryAfter", Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing", IsNullable = false)]
public partial class RetryAfterType
{
private System.Xml.XmlAttribute[] anyAttrField;
private string valueField;
/// <remarks/>
[XmlAnyAttributeAttribute()]
public System.Xml.XmlAttribute[] AnyAttr
{
get
{
return this.anyAttrField;
}
set
{
this.anyAttrField = value;
}
}
/// <remarks/>
[XmlTextAttribute(DataType = "nonNegativeInteger")]
public string Value
{
get
{
return this.valueField;
}
set
{
this.valueField = value;
}
}
}
}
|