LynnaLab.Data.Data C# (CSharp) Method

Data() public method

public Data ( Project p, string command, IEnumerable values, int size, FileParser parser, IList spacing ) : System
p Project
command string
values IEnumerable
size int
parser FileParser
spacing IList
return System
        public Data(Project p, string command, IEnumerable<string> values, int size, FileParser parser, IList<int> spacing)
            : base(parser, spacing)
        {
            base.SetProject(p);
            this.command = command;
            if (values == null)
                this.values = new List<string>();
            else
                this.values = new List<string>(values);
            this.size = size;

            if (this.spacing == null)
                this.spacing = new List<int>();
            while (this.spacing.Count < this.values.Count+2)
                this.spacing.Add(0);

            PrintCommand = true;
            _modified = false;
        }