diff --git a/proto/PowersOfAttorney/PowerOfAttorney.proto b/proto/PowersOfAttorney/PowerOfAttorney.proto index 05166d4c..6900edef 100644 --- a/proto/PowersOfAttorney/PowerOfAttorney.proto +++ b/proto/PowersOfAttorney/PowerOfAttorney.proto @@ -137,6 +137,7 @@ enum PowerOfAttorneySendingType { message PowerOfAttorneyDelegationInfo { required string RootRegistrationNumber = 1; optional string ParentRegistrationNumber = 2; + repeated PowerOfAttorneyIssuer RootIssuers = 3; } message PowerOfAttorneyContent { diff --git a/src/Com/PowersOfAttorney.cs b/src/Com/PowersOfAttorney.cs index 0d3e2bcd..d2207922 100644 --- a/src/Com/PowersOfAttorney.cs +++ b/src/Com/PowersOfAttorney.cs @@ -1,4 +1,5 @@ using System; +using System.Collections.Generic; using System.Runtime.InteropServices; using System.Xml.Serialization; using Diadoc.Api.Com; @@ -601,6 +602,7 @@ public interface IPowerOfAttorneyDelegationInfo { string RootRegistrationNumber { get; set; } string ParentRegistrationNumber { get; set; } + ReadonlyList RootIssuersList { get; } } [ComVisible(true)] @@ -610,6 +612,10 @@ public interface IPowerOfAttorneyDelegationInfo [ComDefaultInterface(typeof(IPowerOfAttorneyDelegationInfo))] public partial class PowerOfAttorneyDelegationInfo : SafeComObject, IPowerOfAttorneyDelegationInfo { + public ReadonlyList RootIssuersList + { + get { return new ReadonlyList(RootIssuers); } + } } } diff --git a/src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs b/src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs index 08bc7258..0fc73407 100644 --- a/src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs +++ b/src/Proto/PowersOfAttorney/PowerOfAttorney.proto.cs @@ -689,6 +689,13 @@ public string ParentRegistrationNumber get { return _ParentRegistrationNumber; } set { _ParentRegistrationNumber = value; } } + private readonly global::System.Collections.Generic.List _RootIssuers = new global::System.Collections.Generic.List(); + [global::ProtoBuf.ProtoMember(3, Name=@"RootIssuers", DataFormat = global::ProtoBuf.DataFormat.Default)] + public global::System.Collections.Generic.List RootIssuers + { + get { return _RootIssuers; } + } + private global::ProtoBuf.IExtension extensionObject; global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }