private void SetRebuild(string arg, BuildFile bf) { if (arg != null) { // rebuild specified components if (arg != "true") // cla[string] returns "true" if argument is merely present { foreach (string comp in arg.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries)) { bf.ForceRebuild(comp.Trim()); } } else // rebuild all components { bf.ForceRebuildAll(); } } }