PluginFramework.AddIn.Core.Framework.CheckInstallBundle C# (CSharp) Méthode

CheckInstallBundle() private méthode

private CheckInstallBundle ( Bundle bundle ) : void
bundle Bundle
Résultat void
        private void CheckInstallBundle(Bundle bundle)
        {
            IBundle existsBundle = bundleRepository.GetBundle(bundle.SymbolicName, null);
            if (existsBundle != null)
            {
                throw new BundleException("Bundle is already installed.");
            }
        }