System.Collections.Generic.List.Add(wzpackage)

Here are the examples of the csharp api System.Collections.Generic.List.Add(wzpackage) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : manager.cs
with BSD 2-Clause "Simplified" License
from chengse66

private List<wzpackage> generate_list(wzpackage host, string preffix, int index)
	{
		List<wzpackage> packages = new List<wzpackage>();

		foreach (wzpackage package in host)
			if (package.idenreplacedy.StartsWith(preffix))
				if (generate_list(packages, package, index))
					Invoke(new Action<int>(delegate(int o)
					{
						++archive.Value;
					}), 0);
				else
					packages.Add(package);

		return packages;
	}