/// <summary> /// Get the PackageIdentity /// </summary> /// <param name="data">The package download extending</param> /// <returns>The package identity</returns> public static PackageIdentity GetIdentity(this IPackageDownload data) { return(data.GetMetadata().Identity); }
/// <summary> /// Get the id of the package /// </summary> /// <param name="data">The package download extending</param> /// <returns>The id</returns> public static string GetId(this IPackageDownload data) { return(data.GetIdentity().Id); }