ZeroInstall.Publish.ImplementationUtils.IsManifestDigestMissing C# (CSharp) Method

IsManifestDigestMissing() private method

private IsManifestDigestMissing ( [ implementation ) : bool
implementation [
return bool
        private static bool IsManifestDigestMissing([NotNull] this Implementation implementation)
        {
            return implementation.ManifestDigest == default(ManifestDigest) ||
                   // Empty strings are used in 0template to indicate that the user wishes this value to be calculated
                   implementation.ManifestDigest.Sha1New == "" ||
                   implementation.ManifestDigest.Sha256 == "" ||
                   implementation.ManifestDigest.Sha256New == "";
        }