Skip to content

Commit

Permalink
DDCORE-8825 use of ReadonlyList in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
majorro committed Dec 10, 2024
1 parent 36bb61f commit 19e5753
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Com/PowersOfAttorney.cs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ public interface IPowerOfAttorneyDelegationInfo
{
string RootRegistrationNumber { get; set; }
string ParentRegistrationNumber { get; set; }
List<PowerOfAttorneyIssuer> RootIssuers { get; }
ReadonlyList RootIssuersList { get; }
}

[ComVisible(true)]
Expand All @@ -612,6 +612,10 @@ public interface IPowerOfAttorneyDelegationInfo
[ComDefaultInterface(typeof(IPowerOfAttorneyDelegationInfo))]
public partial class PowerOfAttorneyDelegationInfo : SafeComObject, IPowerOfAttorneyDelegationInfo
{
public ReadonlyList RootIssuersList
{
get { return new ReadonlyList(RootIssuers); }
}
}
}

Expand Down

0 comments on commit 19e5753

Please sign in to comment.