In all honesty whether you use a List<string> or an ArrayList is down
to you guys really. Personally I would use a List<string> type, but
that purely because I like typed collections.

At the end of the day as long as a list of victims appears in in these
two parameters I’m happy :)



On Jan 29, 11:58 am, Daniel Nauck <[email protected]> wrote:
> Hi,
>
> the sate file is simply a xml serializised IIntegrationResult.
>
> The Property "$CCNetFailureUsers" looks like this:
>
> public ArrayList FailureUsers
> {
>     get { return failureUsers; }
>     set { failureUsers = value; }
>
> }
>
> Since an array list is of type "object", it looks like that ToString()
> is used for serialization.
>
> I think we should change those 2 properties to List<string>.
>
> Any comments?
>
> Cedric schrieb:
>
>
>
> > Is was reading the documentation about relocating the state files of
> > projects. So i did as instructed and restarted my service.
>
> > Being a curious sort of chap i had a look at the contents of one of
> > the state file and found this in the parameters section:-
>
> >     <NameValuePair name="$CCNetModifyingUsers"
> > value="System.Collections.ArrayList" />
> >     <NameValuePair name="$CCNetFailureUsers"
> > value="System.Collections.ArrayList" />
>
> > I can't help but think that should actually be a list of users...
> > Maybe one ToString() too many was used? Or have i just got this wrong.
>
> > Maybe this would explain why my e-mail alerts have no user details in
> > them?
>
> > Regards,
>
> > Cedric- Hide quoted text -
>
> - Show quoted text -

Reply via email to