diff --git a/Hcs.Client/Client/Api/NsiCommonApi.cs b/Hcs.Client/Client/Api/NsiCommonApi.cs new file mode 100644 index 0000000..33e541c --- /dev/null +++ b/Hcs.Client/Client/Api/NsiCommonApi.cs @@ -0,0 +1,32 @@ +using Hcs.Client.Api.Request.Exception; +using Hcs.Client.Api.Request.NsiCommon; +using Hcs.Service.Async.NsiCommon; +using System.Threading; +using System.Threading.Tasks; + +namespace Hcs.Client.Api +{ + // http://open-gkh.ru/NsiCommonService/ + public class NsiCommonApi(ClientBase client) : ApiBase(client) + { + /// + /// Возвращает данные общесистемного справочника + /// + /// Реестровый номер справочника + /// Группа справочников, где NSI - общесистемный, а NSIRAO - ОЖФ + /// Токен отмены + /// Данные общесистемного справочника + public async Task ExportNsiItem(int registryNumber, ListGroup listGroup, CancellationToken token = default) + { + try + { + var request = new ExportNsiItemRequest(client); + return await request.ExecuteAsync(registryNumber, listGroup, token); + } + catch (NoResultsRemoteException) + { + return null; + } + } + } +} diff --git a/Hcs.Client/Client/Api/Request/Nsi/ExportDataProviderNsiItemRequest.cs b/Hcs.Client/Client/Api/Request/Nsi/ExportDataProviderNsiItemRequest.cs index 8a31ab3..b31f4a1 100644 --- a/Hcs.Client/Client/Api/Request/Nsi/ExportDataProviderNsiItemRequest.cs +++ b/Hcs.Client/Client/Api/Request/Nsi/ExportDataProviderNsiItemRequest.cs @@ -16,16 +16,16 @@ namespace Hcs.Client.Api.Request.Nsi { Id = Constants.SIGNED_XML_ELEMENT_ID, version = "10.0.1.2", - RegistryNumber = registryNumber, + RegistryNumber = registryNumber }; - var stateResult = await SendAndWaitResultAsync(request, async(portClient) => + var result = await SendAndWaitResultAsync(request, async(asyncClient) => { - var response = await portClient.exportDataProviderNsiItemAsync(CreateRequestHeader(), request); + var response = await asyncClient.exportDataProviderNsiItemAsync(CreateRequestHeader(), request); return response.AckRequest.Ack; }, token); - return stateResult.Items.OfType(); + return result.Items.OfType(); } } } diff --git a/Hcs.Client/Client/Api/Request/NsiCommon/ExportNsiItemRequest.cs b/Hcs.Client/Client/Api/Request/NsiCommon/ExportNsiItemRequest.cs new file mode 100644 index 0000000..451d415 --- /dev/null +++ b/Hcs.Client/Client/Api/Request/NsiCommon/ExportNsiItemRequest.cs @@ -0,0 +1,30 @@ +using Hcs.Client.Internal; +using Hcs.Service.Async.NsiCommon; +using System.Threading; +using System.Threading.Tasks; + +namespace Hcs.Client.Api.Request.NsiCommon +{ + internal class ExportNsiItemRequest(ClientBase client) : NsiCommonRequestBase(client) + { + internal async Task ExecuteAsync(int registryNumber, ListGroup listGroup, CancellationToken token) + { + // http://open-gkh.ru/NsiCommon/exportNsiItemRequest.html + var request = new exportNsiItemRequest + { + Id = Constants.SIGNED_XML_ELEMENT_ID, + version = "10.0.1.2", + RegistryNumber = registryNumber.ToString(), + ListGroup = listGroup + }; + + var result = await SendAndWaitResultAsync(request, async (asyncClient) => + { + var response = await asyncClient.exportNsiItemAsync(CreateRequestHeader(), request); + return response.AckRequest.Ack; + }, token); + + return result.Item as NsiItemType; + } + } +} diff --git a/Hcs.Client/Client/Api/Request/NsiCommon/NsiCommonRequestBase.cs b/Hcs.Client/Client/Api/Request/NsiCommon/NsiCommonRequestBase.cs new file mode 100644 index 0000000..744737f --- /dev/null +++ b/Hcs.Client/Client/Api/Request/NsiCommon/NsiCommonRequestBase.cs @@ -0,0 +1,55 @@ +using Hcs.Client.Api.Request; +using Hcs.Client.Api.Request.Adapter; +using Hcs.Service.Async.NsiCommon; +using System.Threading.Tasks; + +namespace Hcs.Service.Async.NsiCommon +{ +#pragma warning disable IDE1006 + public partial class getStateResult : IGetStateResultOne { } +#pragma warning restore IDE1006 + + public partial class NsiPortsTypeAsyncClient : IAsyncClient + { + public async Task GetStateAsync(ISRequestHeader header, IGetStateRequest request) + { + return await getStateAsync(header, (getStateRequest)request); + } + } + +#pragma warning disable IDE1006 + public partial class getStateResponse : IGetStateResponse +#pragma warning restore IDE1006 + { + public IGetStateResult GetStateResult => getStateResult; + } + + public partial class AckRequestAck : IAck { } + + public partial class ErrorMessageType : IErrorMessage { } + +#pragma warning disable IDE1006 + public partial class getStateRequest : IGetStateRequest { } +#pragma warning restore IDE1006 +} + +namespace Hcs.Client.Api.Request.NsiCommon +{ + internal class NsiCommonRequestBase(ClientBase client) : + RequestBase(client) + { + protected override EndPoint EndPoint => EndPoint.NsiCommonAsync; + + protected override bool EnableMinimalResponseWaitDelay => true; + + protected override bool CanBeRestarted => true; + + protected override int RestartTimeoutMinutes => 20; + } +} diff --git a/Hcs.Client/Client/UniClient.cs b/Hcs.Client/Client/UniClient.cs index 531f7cd..add8a19 100644 --- a/Hcs.Client/Client/UniClient.cs +++ b/Hcs.Client/Client/UniClient.cs @@ -13,6 +13,8 @@ namespace Hcs.Client { public NsiApi Nsi => new(this); + public NsiCommonApi NsiCommon => new(this); + public void SetSigningCertificate(X509Certificate2 cert, string pin = null) { pin ??= Constants.DEFAULT_CERTIFICATE_PIN; diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.AckRequest.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.AckRequest.datasource new file mode 100644 index 0000000..3660eec --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.AckRequest.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.AckRequest, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.ResultHeader.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.ResultHeader.datasource new file mode 100644 index 0000000..5ceabdc --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.ResultHeader.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.ResultHeader, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiItemResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiItemResponse.datasource new file mode 100644 index 0000000..12b1395 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiItemResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.exportNsiItemResponse, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiListResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiListResponse.datasource new file mode 100644 index 0000000..c53b85e --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiListResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.exportNsiListResponse, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse.datasource new file mode 100644 index 0000000..3e97aef --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.getStateResponse.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.getStateResponse.datasource new file mode 100644 index 0000000..e182b65 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.getStateResponse.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.getStateResponse, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.getStateResult.datasource b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.getStateResult.datasource new file mode 100644 index 0000000..7319e7c --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Hcs.Service.Async.NsiCommon.getStateResult.datasource @@ -0,0 +1,10 @@ + + + + Hcs.Service.Async.NsiCommon.getStateResult, Connected Services.Service.Async.NsiCommon.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Reference.cs b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Reference.cs new file mode 100644 index 0000000..bb96571 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Reference.cs @@ -0,0 +1,3356 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +namespace Hcs.Service.Async.NsiCommon { + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class Fault : object, System.ComponentModel.INotifyPropertyChanged { + + private string errorCodeField; + + private string errorMessageField; + + private string stackTraceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + this.RaisePropertyChanged("ErrorCode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ErrorMessage { + get { + return this.errorMessageField; + } + set { + this.errorMessageField = value; + this.RaisePropertyChanged("ErrorMessage"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StackTrace { + get { + return this.stackTraceField; + } + set { + this.stackTraceField = value; + this.RaisePropertyChanged("StackTrace"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ObjectType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string idField; + + private string mimeTypeField; + + private string encodingField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string MimeType { + get { + return this.mimeTypeField; + } + set { + this.mimeTypeField = value; + this.RaisePropertyChanged("MimeType"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Encoding { + get { + return this.encodingField; + } + set { + this.encodingField = value; + this.RaisePropertyChanged("Encoding"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SPKIDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKISexp", typeof(byte[]), DataType="base64Binary", Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class PGPDataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType1[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyID", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPKeyPacket", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType1[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType1 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + PGPKeyID, + + /// + PGPKeyPacket, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509IssuerSerialType : object, System.ComponentModel.INotifyPropertyChanged { + + private string x509IssuerNameField; + + private string x509SerialNumberField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string X509IssuerName { + get { + return this.x509IssuerNameField; + } + set { + this.x509IssuerNameField = value; + this.RaisePropertyChanged("X509IssuerName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=1)] + public string X509SerialNumber { + get { + return this.x509SerialNumberField; + } + set { + this.x509SerialNumberField = value; + this.RaisePropertyChanged("X509SerialNumber"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class X509DataType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType[] itemsElementNameField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509CRL", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Certificate", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509IssuerSerial", typeof(X509IssuerSerialType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SKI", typeof(byte[]), DataType="base64Binary", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509SubjectName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + X509CRL, + + /// + X509Certificate, + + /// + X509IssuerSerial, + + /// + X509SKI, + + /// + X509SubjectName, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RetrievalMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class TransformType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private string[] textField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("XPath", typeof(string), Order=0)] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class RSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] modulusField; + + private byte[] exponentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] Modulus { + get { + return this.modulusField; + } + set { + this.modulusField = value; + this.RaisePropertyChanged("Modulus"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Exponent { + get { + return this.exponentField; + } + set { + this.exponentField = value; + this.RaisePropertyChanged("Exponent"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DSAKeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private byte[] pField; + + private byte[] qField; + + private byte[] gField; + + private byte[] yField; + + private byte[] jField; + + private byte[] seedField; + + private byte[] pgenCounterField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=0)] + public byte[] P { + get { + return this.pField; + } + set { + this.pField = value; + this.RaisePropertyChanged("P"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=1)] + public byte[] Q { + get { + return this.qField; + } + set { + this.qField = value; + this.RaisePropertyChanged("Q"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] G { + get { + return this.gField; + } + set { + this.gField = value; + this.RaisePropertyChanged("G"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=3)] + public byte[] Y { + get { + return this.yField; + } + set { + this.yField = value; + this.RaisePropertyChanged("Y"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=4)] + public byte[] J { + get { + return this.jField; + } + set { + this.jField = value; + this.RaisePropertyChanged("J"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=5)] + public byte[] Seed { + get { + return this.seedField; + } + set { + this.seedField = value; + this.RaisePropertyChanged("Seed"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=6)] + public byte[] PgenCounter { + get { + return this.pgenCounterField; + } + set { + this.pgenCounterField = value; + this.RaisePropertyChanged("PgenCounter"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private object itemField; + + private string[] textField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("DSAKeyValue", typeof(DSAKeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RSAKeyValue", typeof(RSAKeyValueType), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class KeyInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private object[] itemsField; + + private ItemsChoiceType2[] itemsElementNameField; + + private string[] textField; + + private string idField; + + /// + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyName", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("KeyValue", typeof(KeyValueType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("MgmtData", typeof(string), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("PGPData", typeof(PGPDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("RetrievalMethod", typeof(RetrievalMethodType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("SPKIData", typeof(SPKIDataType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("X509Data", typeof(X509DataType), Order=0)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public object[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=1)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType2[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + public string[] Text { + get { + return this.textField; + } + set { + this.textField = value; + this.RaisePropertyChanged("Text"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", IncludeInSchema=false)] + public enum ItemsChoiceType2 { + + /// + [System.Xml.Serialization.XmlEnumAttribute("##any:")] + Item, + + /// + KeyName, + + /// + KeyValue, + + /// + MgmtData, + + /// + PGPData, + + /// + RetrievalMethod, + + /// + SPKIData, + + /// + X509Data, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureValueType : object, System.ComponentModel.INotifyPropertyChanged { + + private string idField; + + private byte[] valueField; + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute(DataType="base64Binary")] + public byte[] Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class DigestMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class ReferenceType : object, System.ComponentModel.INotifyPropertyChanged { + + private TransformType[] transformsField; + + private DigestMethodType digestMethodField; + + private byte[] digestValueField; + + private string idField; + + private string uRIField; + + private string typeField; + + /// + [System.Xml.Serialization.XmlArrayAttribute(Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("Transform", IsNullable=false)] + public TransformType[] Transforms { + get { + return this.transformsField; + } + set { + this.transformsField = value; + this.RaisePropertyChanged("Transforms"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public DigestMethodType DigestMethod { + get { + return this.digestMethodField; + } + set { + this.digestMethodField = value; + this.RaisePropertyChanged("DigestMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary", Order=2)] + public byte[] DigestValue { + get { + return this.digestValueField; + } + set { + this.digestValueField = value; + this.RaisePropertyChanged("DigestValue"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string URI { + get { + return this.uRIField; + } + set { + this.uRIField = value; + this.RaisePropertyChanged("URI"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Type { + get { + return this.typeField; + } + set { + this.typeField = value; + this.RaisePropertyChanged("Type"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private string hMACOutputLengthField; + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string HMACOutputLength { + get { + return this.hMACOutputLengthField; + } + set { + this.hMACOutputLengthField = value; + this.RaisePropertyChanged("HMACOutputLength"); + } + } + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=1)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class CanonicalizationMethodType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.Xml.XmlNode[] anyField; + + private string algorithmField; + + /// + [System.Xml.Serialization.XmlTextAttribute()] + [System.Xml.Serialization.XmlAnyElementAttribute(Order=0)] + public System.Xml.XmlNode[] Any { + get { + return this.anyField; + } + set { + this.anyField = value; + this.RaisePropertyChanged("Any"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="anyURI")] + public string Algorithm { + get { + return this.algorithmField; + } + set { + this.algorithmField = value; + this.RaisePropertyChanged("Algorithm"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignedInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private CanonicalizationMethodType canonicalizationMethodField; + + private SignatureMethodType signatureMethodField; + + private ReferenceType[] referenceField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public CanonicalizationMethodType CanonicalizationMethod { + get { + return this.canonicalizationMethodField; + } + set { + this.canonicalizationMethodField = value; + this.RaisePropertyChanged("CanonicalizationMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureMethodType SignatureMethod { + get { + return this.signatureMethodField; + } + set { + this.signatureMethodField = value; + this.RaisePropertyChanged("SignatureMethod"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Reference", Order=2)] + public ReferenceType[] Reference { + get { + return this.referenceField; + } + set { + this.referenceField = value; + this.RaisePropertyChanged("Reference"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#")] + public partial class SignatureType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignedInfoType signedInfoField; + + private SignatureValueType signatureValueField; + + private KeyInfoType keyInfoField; + + private ObjectType[] objectField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public SignedInfoType SignedInfo { + get { + return this.signedInfoField; + } + set { + this.signedInfoField = value; + this.RaisePropertyChanged("SignedInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public SignatureValueType SignatureValue { + get { + return this.signatureValueField; + } + set { + this.signatureValueField = value; + this.RaisePropertyChanged("SignatureValue"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public KeyInfoType KeyInfo { + get { + return this.keyInfoField; + } + set { + this.keyInfoField = value; + this.RaisePropertyChanged("KeyInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("Object", Order=3)] + public ObjectType[] Object { + get { + return this.objectField; + } + set { + this.objectField = value; + this.RaisePropertyChanged("Object"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(DataType="ID")] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(BaseAsyncResponseType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class BaseType : object, System.ComponentModel.INotifyPropertyChanged { + + private SignatureType signatureField; + + private string idField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://www.w3.org/2000/09/xmldsig#", Order=0)] + public SignatureType Signature { + get { + return this.signatureField; + } + set { + this.signatureField = value; + this.RaisePropertyChanged("Signature"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute()] + public string Id { + get { + return this.idField; + } + set { + this.idField = value; + this.RaisePropertyChanged("Id"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class BaseAsyncResponseType : BaseType { + + private sbyte requestStateField; + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public sbyte RequestState { + get { + return this.requestStateField; + } + set { + this.requestStateField = value; + this.RaisePropertyChanged("RequestState"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common-service-async/", ConfigurationName="Service.Async.NsiCommon.NsiPortsTypeAsync")] + public interface NsiPortsTypeAsync { + + // CODEGEN: Контракт генерации сообщений с операцией exportNsiList не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiList", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.Fault), Action="urn:exportNsiList", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.exportNsiListResponse exportNsiList(Hcs.Service.Async.NsiCommon.exportNsiListRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiList", ReplyAction="*")] + System.Threading.Tasks.Task exportNsiListAsync(Hcs.Service.Async.NsiCommon.exportNsiListRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией exportNsiItem не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiItem", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.Fault), Action="urn:exportNsiItem", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.exportNsiItemResponse exportNsiItem(Hcs.Service.Async.NsiCommon.exportNsiItemRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiItem", ReplyAction="*")] + System.Threading.Tasks.Task exportNsiItemAsync(Hcs.Service.Async.NsiCommon.exportNsiItemRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией exportNsiPagingItem не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiPagingItem", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.Fault), Action="urn:exportNsiPagingItem", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse exportNsiPagingItem(Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:exportNsiPagingItem", ReplyAction="*")] + System.Threading.Tasks.Task exportNsiPagingItemAsync(Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1 request); + + // CODEGEN: Контракт генерации сообщений с операцией getState не является ни RPC, ни упакованным документом. + [System.ServiceModel.OperationContractAttribute(Action="urn:getState", ReplyAction="*")] + [System.ServiceModel.FaultContractAttribute(typeof(Hcs.Service.Async.NsiCommon.Fault), Action="urn:getState", Name="Fault", Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BaseType))] + Hcs.Service.Async.NsiCommon.getStateResponse getState(Hcs.Service.Async.NsiCommon.getStateRequest1 request); + + [System.ServiceModel.OperationContractAttribute(Action="urn:getState", ReplyAction="*")] + System.Threading.Tasks.Task getStateAsync(Hcs.Service.Async.NsiCommon.getStateRequest1 request); + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ISRequestHeader : HeaderType { + + private ISCreator[] iSCreatorField; + + /// + [System.Xml.Serialization.XmlElementAttribute("ISCreator", Order=0)] + public ISCreator[] ISCreator { + get { + return this.iSCreatorField; + } + set { + this.iSCreatorField = value; + this.RaisePropertyChanged("ISCreator"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ISCreator : object, System.ComponentModel.INotifyPropertyChanged { + + private string iSNameField; + + private string iSOperatorNameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ISName { + get { + return this.iSNameField; + } + set { + this.iSNameField = value; + this.RaisePropertyChanged("ISName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string ISOperatorName { + get { + return this.iSOperatorNameField; + } + set { + this.iSOperatorNameField = value; + this.RaisePropertyChanged("ISOperatorName"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class HeaderType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime dateField; + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Date { + get { + return this.dateField; + } + set { + this.dateField = value; + this.RaisePropertyChanged("Date"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class exportNsiListRequest : BaseType { + + private ListGroup listGroupField; + + private bool listGroupFieldSpecified; + + private string versionField; + + public exportNsiListRequest() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", Order=0)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ListGroupSpecified { + get { + return this.listGroupFieldSpecified; + } + set { + this.listGroupFieldSpecified = value; + this.RaisePropertyChanged("ListGroupSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public enum ListGroup { + + /// + NSI, + + /// + NSIRAO, + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ResultHeader : HeaderType { + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AckRequest : object, System.ComponentModel.INotifyPropertyChanged { + + private AckRequestAck ackField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AckRequestAck Ack { + get { + return this.ackField; + } + set { + this.ackField = value; + this.RaisePropertyChanged("Ack"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AckRequestAck : object, System.ComponentModel.INotifyPropertyChanged { + + private string messageGUIDField; + + private string requesterMessageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string RequesterMessageGUID { + get { + return this.requesterMessageGUIDField; + } + set { + this.requesterMessageGUIDField = value; + this.RaisePropertyChanged("RequesterMessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiListRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.exportNsiListRequest exportNsiListRequest; + + public exportNsiListRequest1() { + } + + public exportNsiListRequest1(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiListRequest exportNsiListRequest) { + this.ISRequestHeader = ISRequestHeader; + this.exportNsiListRequest = exportNsiListRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiListResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.AckRequest AckRequest; + + public exportNsiListResponse() { + } + + public exportNsiListResponse(Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class exportNsiItemRequest : BaseType { + + private string registryNumberField; + + private ListGroup listGroupField; + + private System.DateTime modifiedAfterField; + + private bool modifiedAfterFieldSpecified; + + private string versionField; + + public exportNsiItemRequest() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string RegistryNumber { + get { + return this.registryNumberField; + } + set { + this.registryNumberField = value; + this.RaisePropertyChanged("RegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", Order=1)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime ModifiedAfter { + get { + return this.modifiedAfterField; + } + set { + this.modifiedAfterField = value; + this.RaisePropertyChanged("ModifiedAfter"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ModifiedAfterSpecified { + get { + return this.modifiedAfterFieldSpecified; + } + set { + this.modifiedAfterFieldSpecified = value; + this.RaisePropertyChanged("ModifiedAfterSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiItemRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.exportNsiItemRequest exportNsiItemRequest; + + public exportNsiItemRequest1() { + } + + public exportNsiItemRequest1(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiItemRequest exportNsiItemRequest) { + this.ISRequestHeader = ISRequestHeader; + this.exportNsiItemRequest = exportNsiItemRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiItemResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.AckRequest AckRequest; + + public exportNsiItemResponse() { + } + + public exportNsiItemResponse(Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class exportNsiPagingItemRequest : BaseType { + + private string registryNumberField; + + private ListGroup listGroupField; + + private int pageField; + + private System.DateTime modifiedAfterField; + + private bool modifiedAfterFieldSpecified; + + private string versionField; + + public exportNsiPagingItemRequest() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string RegistryNumber { + get { + return this.registryNumberField; + } + set { + this.registryNumberField = value; + this.RaisePropertyChanged("RegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", Order=1)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public int Page { + get { + return this.pageField; + } + set { + this.pageField = value; + this.RaisePropertyChanged("Page"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public System.DateTime ModifiedAfter { + get { + return this.modifiedAfterField; + } + set { + this.modifiedAfterField = value; + this.RaisePropertyChanged("ModifiedAfter"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ModifiedAfterSpecified { + get { + return this.modifiedAfterFieldSpecified; + } + set { + this.modifiedAfterFieldSpecified = value; + this.RaisePropertyChanged("ModifiedAfterSpecified"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiPagingItemRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest exportNsiPagingItemRequest; + + public exportNsiPagingItemRequest1() { + } + + public exportNsiPagingItemRequest1(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest exportNsiPagingItemRequest) { + this.ISRequestHeader = ISRequestHeader; + this.exportNsiPagingItemRequest = exportNsiPagingItemRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class exportNsiPagingItemResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.AckRequest AckRequest; + + public exportNsiPagingItemResponse() { + } + + public exportNsiPagingItemResponse(Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.AckRequest AckRequest) { + this.ResultHeader = ResultHeader; + this.AckRequest = AckRequest; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class getStateRequest : object, System.ComponentModel.INotifyPropertyChanged { + + private string messageGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string MessageGUID { + get { + return this.messageGUIDField; + } + set { + this.messageGUIDField = value; + this.RaisePropertyChanged("MessageGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class getStateResult : BaseAsyncResponseType { + + private object itemField; + + private string versionField; + + public getStateResult() { + this.versionField = "10.0.1.2"; + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ErrorMessage", typeof(ErrorMessageType), Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + [System.Xml.Serialization.XmlElementAttribute("NsiItem", typeof(NsiItemType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("NsiList", typeof(NsiListType), Order=0)] + [System.Xml.Serialization.XmlElementAttribute("NsiPagingItem", typeof(getStateResultNsiPagingItem), Order=0)] + public object Item { + get { + return this.itemField; + } + set { + this.itemField = value; + this.RaisePropertyChanged("Item"); + } + } + + /// + [System.Xml.Serialization.XmlAttributeAttribute(Form=System.Xml.Schema.XmlSchemaForm.Qualified, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public string version { + get { + return this.versionField; + } + set { + this.versionField = value; + this.RaisePropertyChanged("version"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class ErrorMessageType : object, System.ComponentModel.INotifyPropertyChanged { + + private string errorCodeField; + + private string descriptionField; + + private string stackTraceField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string ErrorCode { + get { + return this.errorCodeField; + } + set { + this.errorCodeField = value; + this.RaisePropertyChanged("ErrorCode"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string StackTrace { + get { + return this.stackTraceField; + } + set { + this.stackTraceField = value; + this.RaisePropertyChanged("StackTrace"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiItemType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nsiItemRegistryNumberField; + + private System.DateTime createdField; + + private NsiElementType[] nsiElementField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string NsiItemRegistryNumber { + get { + return this.nsiItemRegistryNumberField; + } + set { + this.nsiItemRegistryNumberField = value; + this.RaisePropertyChanged("NsiItemRegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public System.DateTime Created { + get { + return this.createdField; + } + set { + this.createdField = value; + this.RaisePropertyChanged("Created"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NsiElement", Order=2)] + public NsiElementType[] NsiElement { + get { + return this.nsiElementField; + } + set { + this.nsiElementField = value; + this.RaisePropertyChanged("NsiElement"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementType : object, System.ComponentModel.INotifyPropertyChanged { + + private string codeField; + + private string gUIDField; + + private System.DateTime[] itemsField; + + private ItemsChoiceType3[] itemsElementNameField; + + private bool isActualField; + + private NsiElementFieldType[] nsiElementFieldField; + + private NsiElementType[] childElementField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("EndDate", typeof(System.DateTime), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("Modified", typeof(System.DateTime), Order=2)] + [System.Xml.Serialization.XmlElementAttribute("StartDate", typeof(System.DateTime), Order=2)] + [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")] + public System.DateTime[] Items { + get { + return this.itemsField; + } + set { + this.itemsField = value; + this.RaisePropertyChanged("Items"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ItemsElementName", Order=3)] + [System.Xml.Serialization.XmlIgnoreAttribute()] + public ItemsChoiceType3[] ItemsElementName { + get { + return this.itemsElementNameField; + } + set { + this.itemsElementNameField = value; + this.RaisePropertyChanged("ItemsElementName"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=4)] + public bool IsActual { + get { + return this.isActualField; + } + set { + this.isActualField = value; + this.RaisePropertyChanged("IsActual"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NsiElementField", Order=5)] + public NsiElementFieldType[] NsiElementField { + get { + return this.nsiElementFieldField; + } + set { + this.nsiElementFieldField = value; + this.RaisePropertyChanged("NsiElementField"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ChildElement", Order=6)] + public NsiElementType[] ChildElement { + get { + return this.childElementField; + } + set { + this.childElementField = value; + this.RaisePropertyChanged("ChildElement"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/", IncludeInSchema=false)] + public enum ItemsChoiceType3 { + + /// + EndDate, + + /// + Modified, + + /// + StartDate, + } + + /// + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementAttachmentFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementFiasAddressRefFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementOkeiRefFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementNsiRefFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementNsiFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementEnumFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementIntegerFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementDateFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementFloatFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementBooleanFieldType))] + [System.Xml.Serialization.XmlIncludeAttribute(typeof(NsiElementStringFieldType))] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public abstract partial class NsiElementFieldType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementAttachmentFieldType : NsiElementFieldType { + + private AttachmentType documentField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public AttachmentType Document { + get { + return this.documentField; + } + set { + this.documentField = value; + this.RaisePropertyChanged("Document"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class AttachmentType : object, System.ComponentModel.INotifyPropertyChanged { + + private string nameField; + + private string descriptionField; + + private Attachment attachmentField; + + private string attachmentHASHField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Description { + get { + return this.descriptionField; + } + set { + this.descriptionField = value; + this.RaisePropertyChanged("Description"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public Attachment Attachment { + get { + return this.attachmentField; + } + set { + this.attachmentField = value; + this.RaisePropertyChanged("Attachment"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=3)] + public string AttachmentHASH { + get { + return this.attachmentHASHField; + } + set { + this.attachmentHASHField = value; + this.RaisePropertyChanged("AttachmentHASH"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public partial class Attachment : object, System.ComponentModel.INotifyPropertyChanged { + + private string attachmentGUIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string AttachmentGUID { + get { + return this.attachmentGUIDField; + } + set { + this.attachmentGUIDField = value; + this.RaisePropertyChanged("AttachmentGUID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementFiasAddressRefFieldType : NsiElementFieldType { + + private NsiElementFiasAddressRefFieldTypeNsiRef nsiRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NsiElementFiasAddressRefFieldTypeNsiRef NsiRef { + get { + return this.nsiRefField; + } + set { + this.nsiRefField = value; + this.RaisePropertyChanged("NsiRef"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementFiasAddressRefFieldTypeNsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string guidField; + + private string aoGuidField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Guid { + get { + return this.guidField; + } + set { + this.guidField = value; + this.RaisePropertyChanged("Guid"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string aoGuid { + get { + return this.aoGuidField; + } + set { + this.aoGuidField = value; + this.RaisePropertyChanged("aoGuid"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementOkeiRefFieldType : NsiElementFieldType { + + private string codeField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiRefFieldType : NsiElementFieldType { + + private NsiElementNsiRefFieldTypeNsiRef nsiRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NsiElementNsiRefFieldTypeNsiRef NsiRef { + get { + return this.nsiRefField; + } + set { + this.nsiRefField = value; + this.RaisePropertyChanged("NsiRef"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiRefFieldTypeNsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string nsiItemRegistryNumberField; + + private nsiRef refField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string NsiItemRegistryNumber { + get { + return this.nsiItemRegistryNumberField; + } + set { + this.nsiItemRegistryNumberField = value; + this.RaisePropertyChanged("NsiItemRegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public nsiRef Ref { + get { + return this.refField; + } + set { + this.refField = value; + this.RaisePropertyChanged("Ref"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class nsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string codeField; + + private string gUIDField; + + private string nameField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Code { + get { + return this.codeField; + } + set { + this.codeField = value; + this.RaisePropertyChanged("Code"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiFieldType : NsiElementFieldType { + + private NsiElementNsiFieldTypeNsiRef nsiRefField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public NsiElementNsiFieldTypeNsiRef NsiRef { + get { + return this.nsiRefField; + } + set { + this.nsiRefField = value; + this.RaisePropertyChanged("NsiRef"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementNsiFieldTypeNsiRef : object, System.ComponentModel.INotifyPropertyChanged { + + private string nsiItemRegistryNumberField; + + private ListGroup listGroupField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string NsiItemRegistryNumber { + get { + return this.nsiItemRegistryNumberField; + } + set { + this.nsiItemRegistryNumberField = value; + this.RaisePropertyChanged("NsiItemRegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementEnumFieldType : NsiElementFieldType { + + private NsiElementEnumFieldTypePosition[] positionField; + + /// + [System.Xml.Serialization.XmlElementAttribute("Position", Order=0)] + public NsiElementEnumFieldTypePosition[] Position { + get { + return this.positionField; + } + set { + this.positionField = value; + this.RaisePropertyChanged("Position"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementEnumFieldTypePosition : object, System.ComponentModel.INotifyPropertyChanged { + + private object gUIDField; + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public object GUID { + get { + return this.gUIDField; + } + set { + this.gUIDField = value; + this.RaisePropertyChanged("GUID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementIntegerFieldType : NsiElementFieldType { + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="integer", Order=0)] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementDateFieldType : NsiElementFieldType { + + private System.DateTime valueField; + + private bool valueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="date", Order=0)] + public System.DateTime Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ValueSpecified { + get { + return this.valueFieldSpecified; + } + set { + this.valueFieldSpecified = value; + this.RaisePropertyChanged("ValueSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementFloatFieldType : NsiElementFieldType { + + private float valueField; + + private bool valueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public float Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ValueSpecified { + get { + return this.valueFieldSpecified; + } + set { + this.valueFieldSpecified = value; + this.RaisePropertyChanged("ValueSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementBooleanFieldType : NsiElementFieldType { + + private bool valueField; + + private bool valueFieldSpecified; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public bool Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + + /// + [System.Xml.Serialization.XmlIgnoreAttribute()] + public bool ValueSpecified { + get { + return this.valueFieldSpecified; + } + set { + this.valueFieldSpecified = value; + this.RaisePropertyChanged("ValueSpecified"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiElementStringFieldType : NsiElementFieldType { + + private string valueField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public string Value { + get { + return this.valueField; + } + set { + this.valueField = value; + this.RaisePropertyChanged("Value"); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiListType : object, System.ComponentModel.INotifyPropertyChanged { + + private System.DateTime createdField; + + private NsiItemInfoType[] nsiItemInfoField; + + private ListGroup listGroupField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public System.DateTime Created { + get { + return this.createdField; + } + set { + this.createdField = value; + this.RaisePropertyChanged("Created"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("NsiItemInfo", Order=1)] + public NsiItemInfoType[] NsiItemInfo { + get { + return this.nsiItemInfoField; + } + set { + this.nsiItemInfoField = value; + this.RaisePropertyChanged("NsiItemInfo"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public ListGroup ListGroup { + get { + return this.listGroupField; + } + set { + this.listGroupField = value; + this.RaisePropertyChanged("ListGroup"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-base/")] + public partial class NsiItemInfoType : object, System.ComponentModel.INotifyPropertyChanged { + + private string registryNumberField; + + private string nameField; + + private System.DateTime modifiedField; + + /// + [System.Xml.Serialization.XmlElementAttribute(DataType="positiveInteger", Order=0)] + public string RegistryNumber { + get { + return this.registryNumberField; + } + set { + this.registryNumberField = value; + this.RaisePropertyChanged("RegistryNumber"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public string Name { + get { + return this.nameField; + } + set { + this.nameField = value; + this.RaisePropertyChanged("Name"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public System.DateTime Modified { + get { + return this.modifiedField; + } + set { + this.modifiedField = value; + this.RaisePropertyChanged("Modified"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.9032.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/")] + public partial class getStateResultNsiPagingItem : NsiItemType { + + private int totalItemsCountField; + + private int totalPagesField; + + private object currentPageField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=0)] + public int TotalItemsCount { + get { + return this.totalItemsCountField; + } + set { + this.totalItemsCountField = value; + this.RaisePropertyChanged("TotalItemsCount"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=1)] + public int TotalPages { + get { + return this.totalPagesField; + } + set { + this.totalPagesField = value; + this.RaisePropertyChanged("TotalPages"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Order=2)] + public object CurrentPage { + get { + return this.currentPageField; + } + set { + this.currentPageField = value; + this.RaisePropertyChanged("CurrentPage"); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class getStateRequest1 { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/", Order=0)] + public Hcs.Service.Async.NsiCommon.getStateRequest getStateRequest; + + public getStateRequest1() { + } + + public getStateRequest1(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.getStateRequest getStateRequest) { + this.ISRequestHeader = ISRequestHeader; + this.getStateRequest = getStateRequest; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class getStateResponse { + + [System.ServiceModel.MessageHeaderAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/base/")] + public Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader; + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://dom.gosuslugi.ru/schema/integration/nsi-common/", Order=0)] + public Hcs.Service.Async.NsiCommon.getStateResult getStateResult; + + public getStateResponse() { + } + + public getStateResponse(Hcs.Service.Async.NsiCommon.ResultHeader ResultHeader, Hcs.Service.Async.NsiCommon.getStateResult getStateResult) { + this.ResultHeader = ResultHeader; + this.getStateResult = getStateResult; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface NsiPortsTypeAsyncChannel : Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class NsiPortsTypeAsyncClient : System.ServiceModel.ClientBase, Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync { + + public NsiPortsTypeAsyncClient() { + } + + public NsiPortsTypeAsyncClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public NsiPortsTypeAsyncClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public NsiPortsTypeAsyncClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public NsiPortsTypeAsyncClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.exportNsiListResponse Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.exportNsiList(Hcs.Service.Async.NsiCommon.exportNsiListRequest1 request) { + return base.Channel.exportNsiList(request); + } + + public Hcs.Service.Async.NsiCommon.ResultHeader exportNsiList(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiListRequest exportNsiListRequest, out Hcs.Service.Async.NsiCommon.AckRequest AckRequest) { + Hcs.Service.Async.NsiCommon.exportNsiListRequest1 inValue = new Hcs.Service.Async.NsiCommon.exportNsiListRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiListRequest = exportNsiListRequest; + Hcs.Service.Async.NsiCommon.exportNsiListResponse retVal = ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).exportNsiList(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.exportNsiListAsync(Hcs.Service.Async.NsiCommon.exportNsiListRequest1 request) { + return base.Channel.exportNsiListAsync(request); + } + + public System.Threading.Tasks.Task exportNsiListAsync(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiListRequest exportNsiListRequest) { + Hcs.Service.Async.NsiCommon.exportNsiListRequest1 inValue = new Hcs.Service.Async.NsiCommon.exportNsiListRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiListRequest = exportNsiListRequest; + return ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).exportNsiListAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.exportNsiItemResponse Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.exportNsiItem(Hcs.Service.Async.NsiCommon.exportNsiItemRequest1 request) { + return base.Channel.exportNsiItem(request); + } + + public Hcs.Service.Async.NsiCommon.ResultHeader exportNsiItem(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiItemRequest exportNsiItemRequest, out Hcs.Service.Async.NsiCommon.AckRequest AckRequest) { + Hcs.Service.Async.NsiCommon.exportNsiItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.exportNsiItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiItemRequest = exportNsiItemRequest; + Hcs.Service.Async.NsiCommon.exportNsiItemResponse retVal = ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).exportNsiItem(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.exportNsiItemAsync(Hcs.Service.Async.NsiCommon.exportNsiItemRequest1 request) { + return base.Channel.exportNsiItemAsync(request); + } + + public System.Threading.Tasks.Task exportNsiItemAsync(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiItemRequest exportNsiItemRequest) { + Hcs.Service.Async.NsiCommon.exportNsiItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.exportNsiItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiItemRequest = exportNsiItemRequest; + return ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).exportNsiItemAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.exportNsiPagingItem(Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1 request) { + return base.Channel.exportNsiPagingItem(request); + } + + public Hcs.Service.Async.NsiCommon.ResultHeader exportNsiPagingItem(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest exportNsiPagingItemRequest, out Hcs.Service.Async.NsiCommon.AckRequest AckRequest) { + Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiPagingItemRequest = exportNsiPagingItemRequest; + Hcs.Service.Async.NsiCommon.exportNsiPagingItemResponse retVal = ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).exportNsiPagingItem(inValue); + AckRequest = retVal.AckRequest; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.exportNsiPagingItemAsync(Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1 request) { + return base.Channel.exportNsiPagingItemAsync(request); + } + + public System.Threading.Tasks.Task exportNsiPagingItemAsync(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest exportNsiPagingItemRequest) { + Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1 inValue = new Hcs.Service.Async.NsiCommon.exportNsiPagingItemRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.exportNsiPagingItemRequest = exportNsiPagingItemRequest; + return ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).exportNsiPagingItemAsync(inValue); + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + Hcs.Service.Async.NsiCommon.getStateResponse Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.getState(Hcs.Service.Async.NsiCommon.getStateRequest1 request) { + return base.Channel.getState(request); + } + + public Hcs.Service.Async.NsiCommon.ResultHeader getState(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.getStateRequest getStateRequest, out Hcs.Service.Async.NsiCommon.getStateResult getStateResult) { + Hcs.Service.Async.NsiCommon.getStateRequest1 inValue = new Hcs.Service.Async.NsiCommon.getStateRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.getStateRequest = getStateRequest; + Hcs.Service.Async.NsiCommon.getStateResponse retVal = ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).getState(inValue); + getStateResult = retVal.getStateResult; + return retVal.ResultHeader; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync.getStateAsync(Hcs.Service.Async.NsiCommon.getStateRequest1 request) { + return base.Channel.getStateAsync(request); + } + + public System.Threading.Tasks.Task getStateAsync(Hcs.Service.Async.NsiCommon.ISRequestHeader ISRequestHeader, Hcs.Service.Async.NsiCommon.getStateRequest getStateRequest) { + Hcs.Service.Async.NsiCommon.getStateRequest1 inValue = new Hcs.Service.Async.NsiCommon.getStateRequest1(); + inValue.ISRequestHeader = ISRequestHeader; + inValue.getStateRequest = getStateRequest; + return ((Hcs.Service.Async.NsiCommon.NsiPortsTypeAsync)(this)).getStateAsync(inValue); + } + } +} diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/Reference.svcmap b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Reference.svcmap new file mode 100644 index 0000000..5ffffb6 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/Reference.svcmap @@ -0,0 +1,35 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/configuration.svcinfo b/Hcs.Client/Connected Services/Service.Async.NsiCommon/configuration.svcinfo new file mode 100644 index 0000000..3c36975 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/configuration.svcinfo @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/configuration91.svcinfo b/Hcs.Client/Connected Services/Service.Async.NsiCommon/configuration91.svcinfo new file mode 100644 index 0000000..4c0304e --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/configuration91.svcinfo @@ -0,0 +1,310 @@ + + + + + + + NsiBindingAsync5 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + Transport + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Коллекция) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + NsiBindingAsync6 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (Коллекция) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + + + https://api.dom.gosuslugi.ru/ext-bus-nsi-common-service/services/NsiCommonAsync + + + + + + basicHttpBinding + + + NsiBindingAsync5 + + + Service.Async.NsiCommon.NsiPortsTypeAsync + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + NsiPortAsync3 + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-base.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-base.xsd new file mode 100644 index 0000000..ebfa590 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-base.xsd @@ -0,0 +1,862 @@ + + + + + + ???????????? ???? ?????????? 2000 ????????????????. + + + + + + + + ???????????? ???? ?????????? 1500 ????????????????. + + + + + + + + ???????????? ???? ?????????? 300 ????????????????. + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 255 ????????????????. + + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 100 ????????????????. + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 250 ????????????????. + + + + + + + + ?????????????????? ??????. ???????????? ???? ?????????? 500 ????????????????. + + + + + + + + ???????????? ???? ?????????? 60 ????????????????. + + + + + + + + ?????????????????? ???????? 2000 + + + + + + + + ???????????????? ???????????? + + + + + + + + + ?????????????? ?????? ????????????-?????????????????? ?? ???????????????? + + + + + + + + + ?????????????????? ?????????????? + + + + + + + + + ?????????????????????????? ???????????????????? ???????????? + + + + + ?????????????????????????? ???????????????????????????????????? ?????????????????????? + + + + + ???????????????????? ?? ???????????????????? ???????? + + + + + + ?????????????????????????? ?????????????????????? ????????, ?????????????????????????????????????? ?? ?????? ?????? + + + + + + ?????????? + + + + + + + + + + ????????????????, ???????????????????????????? ???????????????? + + + + + + ?????? ??????????????????, ?????????????????????????????? ???????????????? (?????? ???95) + + + + + + ?????? ???????????? ?????????????????????? + + + + + + + + + + + ?????????????????????????? ???????????? ?? ?????????????????????????????? ?????????????????????? ?????? ?????? + + + + + ???????????????? + + + + + + + + + + + + + ?????????? ?????????????????? + + + + + + + + + + + ?????????? ?????????????????? + + + + + + + + + + + + + + + + + + + ???????????????????????? ?????????????? ?????????????????? ???? + + + + + ???????????????? ???? ???????? ????, ?? ???????????????????????????? ?????????????? ???????? ???????????????????????? ???????????????????? (589/944/,??.164). ???????????? ?????? ???????????????? ???????????????????? ????????????????????. + + + + + + + + + + ?????????????????? ?????????????? + + + + + + + + + + + + + + ?????????????????? ???????????? + + + + + + + + + + ?????????????? ?????? ???????????? ???? ???????????? ????????????????, ????????????????????????????, ???????????????? + + + + + + ???????????????????????? ??????????????????????????, ???????????????????????? ???????????????????? ???????????????????? + + + + + ?????????????????????????? ?????????????? ?? ?????? ?????? + + + + + + + + ?????????????????????????? ?????????????? ?? ?????? ?????? + + + + + ???????? ?????????????????????? + + + + + ???????????????????? ?????????? + + + + + + + + + + ?????????????? ?????? ?????????????????? + + + + + ???????? ???????????????? ???????????? + + + + + ?????????????????????????? ?????????????????? + + + + + + + ???????????????? + + + + + + ?????????????????????????? ???????????????????????? ???????????????? + + + + + + + + ???????????????? + + + + + ???????????????????????? ???????????????? + + + + + + + + + + + ???????????????? ???????????????? + + + + + + + + + + + + ??????-?????? ???????????????? ???? ?????????????????? ???????? ?? binhex. + +?????????????? ???????????????????? ?? ???????????????? ?????????????? + + + + + + + + + + + + ???????????????? + + + + + ???????????????????????? ???????????????? + + + + + + + + + + + ???????????????? ???????????????? + + + + + + + + + + + + ??????-?????? ???????????????? ???? ?????????????????? ???????? ?? binhex + + + + + + + + + + + + ?????????????? ??????, ?????????????????????? ???????????????? ?? ?????????????????????????? (detached) ??????????????????. ?? ???????????????? ?????? ??????, ?????????????????????? ?????? SignedAttachmentType, ?????????? ???????? ???????????????? ?????????????????????? ???? ???????????????????????? ?????????????????? ?????????????????? ?? ?????????? Signature (????. ???????????????? INT002039). + + + + + ???????????????? + + + + + ???????????????????????? (detached) ?????????????? + + + + + + + ?????????????? Fault (?????? ?????????????????? Fault ?? ????????????????) + + + + ?????????????? ?????? ?????? fault-???????????? + + + + + + + + + + + ???????????????? ???????????? ?????????????????? ?????? ????????????-????????????????. ?????????????? ???? ??????????????????????. ???????????????? ?????? ?????????????????????????? + + + + + + ?????????????? ?????? ???????????? ???????????????? ?????? ????????????-???????????????? + + + + + ?????? ???????????? + + + + + ???????????????? ???????????? + + + + + StackTrace ?? ???????????? ?????????????????????????? ???????????????????? + + + + + + + ???????????? ????????????????, ?????????????? ?? ?????????????? ???????????????????????????? ?????????????????????????? + + + + + ?????????????? ?????????????????? ???????????? ?????????????????? + + + + + + ?????????????????? + + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????????????????????? + + + + + + + + + + + ???????????? ?????????????? ?????????????????????????? ?????????????????? + + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + ???????????? ???????????? ???????????????????????? ?????????????????? + + + + + + ???????????? ?????????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + ?????????? ???? ???????????? ???????????? ???????????????????????? ?????????????????? + + + + + + + + ???????????? ?????????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + + + ?????????????? ?????? ???????????? ???? ???????????? ?????????????? + + + + + + + ???????????? ?????????????????? + + + + + ?????????????????????????? ??????????????????, ?????????????????????? ?????? ?????? + + + + + + + + + ?????????????????? ???????????????????? C_UD + + + + + ?????????????????????????? ??????????????????????/???????????????????? ???????????????? + + + + + ???????????????????????? ?????????????????????????? + + + + + + ???????????????? ?????????????????? ?????????????? + + + + ???????????????????? ???????????????????? ?????????? + + + + + ???????? ?????????????????????? + + + + + + ???????????????? ???????????? + + + + + + + + + + + + + ???????????? ?????????????????? ?????????????????? ?? ?????????????????????? ???????????? (1- ????????????????; 2 - ?? ??????????????????; 3- ????????????????????) + + + + + + + + + + ???????????????????????? ?????????????????????????? + + + + + GUID-??????. + + + + + + + + ???????? ?????????????????????? ?????????????? + + + + + ??????, ?????????????????????? ?????? + + + + + + + + ??????, ?????????????????????? ?????????? + + + + + + + + + ?????????? + + + + + ?????? + + + + + + + + + + + ???????????????????????? ?????????? ?????????????????????????? ???????? + + + + + + + + + ?????????????????? ???????????? (?????? ???????? ??????????????????????) + + + + + ???????????? ?????????????? + + + + + ?????????? ?????????????? + + + + + + + ???????????????? ?????????????????? ???????????? (???????? ??????????????????????????) + + + + + ???????????? ?????????????? + + + + + ?????????? ?????????????? + + + + + + + ?????? ???????????? + + + + + + + + + + ???????????? ???? ?????????????? ???? (????????) + + + + + ?????? ?????????????? (????????) + + + + + + + + + + ???????????? ???????????????????????? + + + + + + + + + + + + ???????????? ???? ?????????? + + + + + ?????? ???? ?????????? + + + + + + + + + + + ???????????? ???????????????????????? + + + + + + + + + + + + + + + + + ?????? ???????? + + + + + ?????????????????????????? ???????????????????????????????????? ?????????????????????? + + + + + ?????????????? ?????? ?????????????????? ???? + + + + + ???????????????????????? ?????????????????? + + + + + + + + + + + ?????????? ?????????????????? + + + + + + + + + + + ???????? ???????????????? ?????????????????? ?????????????? ???????????? + + + + + ???????????????? + + + + + + + ???????????????? ???? ???????? ????, ?? ???????????????????????????? ?????????????? ???????? ???????????????????????? ???????????????????? (589/944/,??.164) + + + + + + ???????????????????????? ???? + + + + + ???????????????????????? ?????????????????? ???? + + + + + + + + ?????? ???? ?????????? + + + + + + + + + ?????? ???? ?????????? + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-base.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-base.xsd new file mode 100644 index 0000000..cbd302d --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-base.xsd @@ -0,0 +1,427 @@ + + + + + + + + + + + + Ссылка на справочник + + + + + Код записи справочника + + + + + Идентификатор записи в соответствующем справочнике ГИС ЖКХ + + + + + Значение + + + + + + + + + + + + Скалярный тип. Наименование справочника. Строка не более 200 символов. + + + + + + + + Скалярный тип. Реестровый номер справочника. Код не более 10 символов. + + + + + + + + Составной тип. Наименование, дата и время последнего изменения справочника. + + + + + Реестровый номер справочника. + + + + + Наименование справочника. + + + + + Дата и время последнего изменения справочника. + + + + + + + Перечень справочников с датой последнего изменения каждого из них. + + + + + Дата и время формирования перечня справочников. + + + + + Наименование, дата и время последнего изменения справочника. + + + + + + + + Данные справочника. + + + + + Реестровый номер справочника. + + + + + Дата и время формирования данных справочника. + + + + + Элемент справочника верхнего уровня. + + + + + + + Составной тип. Элемент справочника. + + + + + Код элемента справочника, уникальный в пределах справочника. + + + + + Глобально-уникальный идентификатор элемента справочника. + + + + + + Дата и время последнего изменения элемента справочника (в том числе создания). + + + + + + Дата начала действия значения + + + + + Дата окончания действия значения + + + + + + + Признак актуальности элемента справочника. + + + + + Наименование и значение поля для элемента справочника. + + + + + Дочерний элемент. + + + + + + + Составной тип. Наименование и значение поля для элемента справочника. Абстрактный тип. + + + + + Наименование поля элемента справочника. + + + + + + + Составной тип. Наименование и значение поля типа "Строка" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Строка". + + + + + + + + + Составной тип. Наименование и значение поля типа "Да/Нет" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Да/Нет". + + + + + + + + + Составной тип. Наименование и значение поля типа "Вещественное" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Вещественное". + + + + + + + + + Составной тип. Наименование и значение поля типа "Дата" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Дата". + + + + + + + + + Составной тип. Наименование и значение поля типа "Целое число" для элемента справочника. + + + + + + + Значение поля элемента справочника типа "Целое число". + + + + + + + + + Составной тип. Наименование и значение поля типа "Перечислимый" для элемента справочника. + + + + + + + Запись элемента справочника типа "Перечислимый". + + + + + + Код поля элемента справочника типа "Перечислимый". + + + + + Значение поля элемента справочника типа "Перечислимый". + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на справочник" для элемента справочника. + + + + + + + Ссылка на справочник. + + + + + + Реестровый номер справочника. + + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент внутреннего справочника" для элемента справочника. + + + + + + + Ссылка на элемент внутреннего справочника. + + + + + + Реестровый номер справочника. + + + + + Ссылка на элемент справочника. + + + + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент справочника ОКЕИ" для элемента справочника. + + + + + + + Код единицы измерения по справочнику ОКЕИ. + + + + + + + + + Составной тип. Наименование и значение поля типа "Ссылка на элемент справочника ФИАС" для элемента справочника. + + + + + + + Ссылка на элемент справочника ФИАС. + + + + + + Идентификационный код позиции в справочнике ФИАС. + + + + + Глобально-уникальный идентификатор адресного объекта в справочнике ФИАС. + + + + + + + + + + + + Составной тип. Наименование и значение поля "Вложение" + + + + + + + Документ + + + + + + + + + Скалярный тип. Наименование поля элемента справочника. Строка не более 200 символов. + + + + + + + + Группа справочника: +NSI - (по умолчанию) общесистемный +NSIRAO - ОЖФ + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-common-service-async.wsdl b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-common-service-async.wsdl new file mode 100644 index 0000000..9ba2429 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-common-service-async.wsdl @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ВИ_НСИ_ППС. Получить перечень общесистемных справочников с указанием даты последнего изменения каждого из них. + + + + + + ВИ_НСИ_ПДС. Получить данные общесистемного справочника. + + + + + + ВИ_НСИ_ПДС_ПОСТР. Получить данные общесистемного справочника. + + + + + + + + + + + + + + ВИ_НСИ_ППС. Получить перечень справочников с указанием даты последнего изменения каждого из них. + + + + + + + + + + + + + + + ВИ_НСИ_ПДС. Получить данные справочника. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Асинхронный сервис экспорта общих справочников подсистемы НСИ + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-common-types.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-common-types.xsd new file mode 100644 index 0000000..736d43c --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/hcs-nsi-common-types.xsd @@ -0,0 +1,122 @@ + + + + + + + ???????????? ?????????????????? ?????????????? ?????????????????????????? ????????????????????????. + + + + + + + + + + + + + + + ???????????? ???? ?????????????????? ???????????? ?????????????????????????? ??????????????????????. + + + + + + + + ???????????????????? ?????????? ??????????????????????. + + + + + + ???????? ?? ??????????, ???????????????????? ?????????? ?????????????? ???????????????? ?????????????????????? ???????????? ???????? ???????????????????? ?? ????????????. ???????? ???? ??????????????, ???????????????????????? ?????? ???????????????? ??????????????????????. + + + + + + + + + + + ???????????? ???? ?????????????????? ???????????? ?????????????????????????? ??????????????????????. + + + + + + + + ???????????????????? ?????????? ??????????????????????. + + + + + + ???????????????? ??????????????. ???????????????????????? ???? 1000 ??????????????????. + + + + + + + + + + ???????? ?? ??????????, ???????????????????? ?????????? ?????????????? ???????????????? ?????????????????????? ???????????? ???????? ???????????????????? ?? ????????????. ???????? ???? ??????????????, ???????????????????????? ?????? ???????????????? ??????????????????????. + + + + + + + + + + + ?????????????? ?????????????? ?????????????????????????? ?????????????????? + + + + + + + + + + + + + + + ???????????????????? ?????????????? ?? ?????????????????????? + + + + + ???????????????????? ?????????????? + + + + + ?????????? ?????????????? ???????????????? + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Connected Services/Service.Async.NsiCommon/xmldsig-core-schema.xsd b/Hcs.Client/Connected Services/Service.Async.NsiCommon/xmldsig-core-schema.xsd new file mode 100644 index 0000000..e036087 --- /dev/null +++ b/Hcs.Client/Connected Services/Service.Async.NsiCommon/xmldsig-core-schema.xsd @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Hcs.Client/Hcs.Client.csproj b/Hcs.Client/Hcs.Client.csproj index 541c703..f2f2601 100644 --- a/Hcs.Client/Hcs.Client.csproj +++ b/Hcs.Client/Hcs.Client.csproj @@ -66,6 +66,7 @@ + @@ -78,6 +79,8 @@ + + @@ -86,6 +89,10 @@ + + + + @@ -200,6 +207,11 @@ True Reference.svcmap + + True + True + Reference.svcmap + True True @@ -862,6 +874,40 @@ Designer + + Designer + + + Designer + + + + Designer + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Reference.svcmap + + + Designer + Designer @@ -1114,6 +1160,7 @@ + @@ -1160,6 +1207,12 @@ WCF Proxy Generator Reference.cs + + + + WCF Proxy Generator + Reference.cs + diff --git a/Hcs.Client/app.config b/Hcs.Client/app.config index 33749ae..d9c33ae 100644 --- a/Hcs.Client/app.config +++ b/Hcs.Client/app.config @@ -26,6 +26,10 @@ + + + + @@ -55,6 +59,9 @@ + \ No newline at end of file diff --git a/Hcs.TestApp/Hcs.TestApp.csproj b/Hcs.TestApp/Hcs.TestApp.csproj index becdce1..720faab 100644 --- a/Hcs.TestApp/Hcs.TestApp.csproj +++ b/Hcs.TestApp/Hcs.TestApp.csproj @@ -76,6 +76,8 @@ + + @@ -95,5 +97,6 @@ Hcs.Client + \ No newline at end of file diff --git a/Hcs.TestApp/TestApp/Program.cs b/Hcs.TestApp/TestApp/Program.cs index 8e1a3c8..0989797 100644 --- a/Hcs.TestApp/TestApp/Program.cs +++ b/Hcs.TestApp/TestApp/Program.cs @@ -37,6 +37,7 @@ namespace Hcs.TestApp client.SetSigningCertificate(cert); var nsiScenario = new NsiScenario(client); + var nsiCommonScenario = new NsiCommonScenario(client); try { //nsiScenario.ExportDataProviderNsiItem1(); @@ -46,6 +47,8 @@ namespace Hcs.TestApp //nsiScenario.ExportDataProviderNsiItem272(); //nsiScenario.ExportDataProviderNsiItem302(); //nsiScenario.ExportDataProviderNsiItem337(); + + //nsiCommonScenario.ExportNsiItem2(); } catch (Exception e) { diff --git a/Hcs.TestApp/TestApp/Scenario/NsiCommonScenario.cs b/Hcs.TestApp/TestApp/Scenario/NsiCommonScenario.cs new file mode 100644 index 0000000..6019141 --- /dev/null +++ b/Hcs.TestApp/TestApp/Scenario/NsiCommonScenario.cs @@ -0,0 +1,17 @@ +using Hcs.Client; +using Hcs.Service.Async.NsiCommon; +using System; + +namespace Hcs.TestApp.Scenario +{ + internal class NsiCommonScenario(UniClient client) + { + private readonly UniClient client = client; + + internal void ExportNsiItem2() + { + var result = client.NsiCommon.ExportNsiItem(2, ListGroup.NSI).Result; + Console.WriteLine("Scenario execution " + (result != null ? "succeeded" : "failed")); + } + } +} diff --git a/Hcs.TestApp/TestApp/Scenarioss/NsiScenario.cs b/Hcs.TestApp/TestApp/Scenarioss/NsiScenario.cs new file mode 100644 index 0000000..d59e23c --- /dev/null +++ b/Hcs.TestApp/TestApp/Scenarioss/NsiScenario.cs @@ -0,0 +1,54 @@ +using Hcs.Client; +using Hcs.Service.Async.Nsi; +using System; +using System.Linq; + +namespace Hcs.TestApp.Scenario +{ + internal class NsiScenario(UniClient client) + { + private readonly UniClient client = client; + + internal void ExportDataProviderNsiItem1() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item1).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + + internal void ExportDataProviderNsiItem51() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item51).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + + internal void ExportDataProviderNsiItem59() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item59).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + + internal void ExportDataProviderNsiItem219() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item219).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + + internal void ExportDataProviderNsiItem272() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item272).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + + internal void ExportDataProviderNsiItem302() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item302).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + + internal void ExportDataProviderNsiItem337() + { + var result = client.Nsi.ExportDataProviderNsiItem(exportDataProviderNsiItemRequestRegistryNumber.Item337).Result; + Console.WriteLine("Scenario execution " + (result.Count() > 0 ? "succeeded" : "failed")); + } + } +}