Constructor with parameters

Apr 10, 2013 at 3:19 PM
Hello, all.

I use xsd2xode first time and I have a question.
Can I get constructor with parameters?
I got next code:
public class Class1
{
    private List<string> list1;
    public Class1()
    {
        list1 = new List<string>();
    }
}
How can I get something like this?
public class Class1
{
    private List<string> list1;
    public Class1(List<string> list1)
    {
        this.list1 = list1;
    }
}
Thanks a lot.