/// <summary> /// Ensures the manifests are found and loaded into memory /// </summary> private static IEnumerable <PackageManifest> GetManifests() { return((IEnumerable <PackageManifest>)StaticCache.GetOrAdd(ManifestKey, s => { var parser = new ManifestParser(new DirectoryInfo(IOHelper.MapPath("~/App_Plugins"))); return parser.GetManifests(); })); }
/// <summary> /// Ensures the manifests are found and loaded into memory /// </summary> private static IEnumerable<PackageManifest> GetManifests() { return (IEnumerable<PackageManifest>) StaticCache.GetOrAdd(ManifestKey, s => { var parser = new ManifestParser(new DirectoryInfo(IOHelper.MapPath("~/App_Plugins"))); return parser.GetManifests(); }); }