Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsenko committed Jan 12, 2025
1 parent 52d9e5a commit 78ba8f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Com/PowersOfAttorney.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public interface IPowerOfAttorney
ReadonlyList DelegationChainList { get; }
PowerOfAttorneyPermissionsInfo PermissionsInfo { get; set; }
PowerOfAttorneyDelegationInfo DelegationInfo { get; set; }
PowerOfAttorneyRepresentative[] RepresentativesList { get; }
ReadonlyList RepresentativesList { get; }
}

[ComVisible(true)]
Expand All @@ -48,7 +48,7 @@ public interface IPowerOfAttorney
public partial class PowerOfAttorney : SafeComObject, IPowerOfAttorney
{
public ReadonlyList DelegationChainList => new ReadonlyList(DelegationChain);
public PowerOfAttorneyRepresentative[] RepresentativesList => new List<PowerOfAttorneyRepresentative>(Representatives).ToArray();
public ReadonlyList RepresentativesList => new ReadonlyList(Representatives);
}

[ComVisible(true)]
Expand Down Expand Up @@ -84,7 +84,7 @@ public interface IPowerOfAttorneyRepresentativeLegalEntity
string Inn { get; set; }
string Kpp { get; set; }
string OrganizationName { get; set; }
PowerOfAttorneyRepresentativePhysicalEntity[] PhysicalEntities { get; }
ReadonlyList PhysicalEntities { get; }
}

[ComVisible(true)]
Expand All @@ -94,7 +94,7 @@ public interface IPowerOfAttorneyRepresentativeLegalEntity
[ComDefaultInterface(typeof(IPowerOfAttorneyRepresentativeLegalEntity))]
public partial class PowerOfAttorneyRepresentativeLegalEntity : SafeComObject, IPowerOfAttorneyRepresentativeLegalEntity
{
public PowerOfAttorneyRepresentativePhysicalEntity[] PhysicalEntities => new List<PowerOfAttorneyRepresentativePhysicalEntity>(PhysicalEntity).ToArray();
public ReadonlyList PhysicalEntities => new ReadonlyList(PhysicalEntity);
}

[ComVisible(true)]
Expand Down

0 comments on commit 78ba8f6

Please sign in to comment.