internal static bool IsEqual(AssemblyIdentity a1, AssemblyIdentity a2) { return(IsEqual(a1, a2, true)); }
/// <summary> /// Initializes a new instance of the ApplicationIdentity class. /// </summary> /// <param name="url">The deployment provider URL for the ClickOnce deployment manifest.</param> /// <param name="deployManifestIdentity">Assembly identity of the ClickOnce deployment manifest.</param> /// <param name="applicationManifestIdentity">Assembly identity of the ClickOnce application manifest.</param> public ApplicationIdentity(string url, AssemblyIdentity deployManifestIdentity, AssemblyIdentity applicationManifestIdentity) { if (String.IsNullOrEmpty(url)) { throw new ArgumentNullException(nameof(url)); } _url = url; _deployManifestIdentity = deployManifestIdentity ?? throw new ArgumentNullException(nameof(deployManifestIdentity)); _applicationManifestIdentity = applicationManifestIdentity ?? throw new ArgumentNullException(nameof(applicationManifestIdentity)); }