private static void ParseCodePackages(CodePackageActivationContext context, ServiceManifest manifest) { IList <string> names = context.GetCodePackageNames(); foreach (string name in names) { manifest.CodePackages.Add(context.GetCodePackageObject(name)); } }