L
Luigi Z
Hi all,
having a dictionary like this (C# 2.0)
private IDictionary mapVoceSourceCodiciToVoci = new
Dictionary<CheckPairBase, VoceSource[]>();
where CheckPairBase and VoceSource are classes, and is populated in this way:
mapVoceSourceCodiciToVoci.Add(new
CheckPairBase(Attivita.TavolaCodice, Attivita.A11_TitoliDiStato, new
Column(Attivita.Column1)),
new VoceSource[] { new
VoceSource("311100", null, null, VoceSource.Operator.Plus),
new VoceSource("363100", null, null,
VoceSource.Operator.Plus), new VoceSource("365100", null, null,
VoceSource.Operator.Plus),
new VoceSource("463100", null, null,
VoceSource.Operator.Plus), new VoceSource("465100", null, null,
VoceSource.Operator.Plus) });
.......etc
how can I extract a List<string> of every code (like "123456") present as
property in VoceSource class?
Thanks in advance.
having a dictionary like this (C# 2.0)
private IDictionary mapVoceSourceCodiciToVoci = new
Dictionary<CheckPairBase, VoceSource[]>();
where CheckPairBase and VoceSource are classes, and is populated in this way:
mapVoceSourceCodiciToVoci.Add(new
CheckPairBase(Attivita.TavolaCodice, Attivita.A11_TitoliDiStato, new
Column(Attivita.Column1)),
new VoceSource[] { new
VoceSource("311100", null, null, VoceSource.Operator.Plus),
new VoceSource("363100", null, null,
VoceSource.Operator.Plus), new VoceSource("365100", null, null,
VoceSource.Operator.Plus),
new VoceSource("463100", null, null,
VoceSource.Operator.Plus), new VoceSource("465100", null, null,
VoceSource.Operator.Plus) });
.......etc
how can I extract a List<string> of every code (like "123456") present as
property in VoceSource class?
Thanks in advance.