protected LoadedProviderViewModel GetViewModel(LoadedProviderMetadata provider) => _providerViewModelDelegate(provider);
#pragma warning disable IDE0060 // Remove unused parameter private static LoadedProviderViewModel GetViewModel(IServiceProvider serviceProvider, LoadedProviderMetadata provider) => #pragma warning restore IDE0060 // Remove unused parameter new LoadedProviderViewModel() { AssemblyVersion = provider.AssemblyName.Version.ToString(), Details = provider.Details, OriginatingFile = Path.GetFileName(provider.OriginatingFile), ProviderTypeName = provider.ProviderTypeName, Capabilities = GetProviderCapabilities(provider.ProviderType) };
#pragma warning disable IDE0060 // Remove unused parameter private static LoadedProviderViewModel GetViewModel(IServiceProvider serviceProvider, LoadedProviderMetadata provider) => #pragma warning restore IDE0060 // Remove unused parameter new LoadedProviderViewModel() { AssemblyVersion = provider.AssemblyName.Version.ToString(), AssemblyPublicKey = provider.AssemblyName.GetPublicKey(), AssemblyPublicKeyToken = provider.AssemblyName.GetPublicKeyToken(), Details = provider.Details, IsRekeyableObjectProvider = provider.IsRekeyableObjectProvider, OriginatingFile = Path.GetFileName(provider.OriginatingFile), ProviderTypeName = provider.ProviderTypeName, SvgImage = provider.SvgImage };