/// <summary> /// Gets the version of the endpoint. /// </summary> /// <returns>The <see cref="Version"/> the endpoint.</returns> public static string GetEndpointVersion() { Initialize(); if (entryType != null) { return(FileVersionRetriever.GetFileVersion(entryType)); } throw new InvalidOperationException( "No version of the endpoint could not be retrieved using the default convention, please specify your own convention using Configure.DefineEndpointVersionRetriever()"); }