PluginFramework.AddIn.Core.Framework.CheckInstallBundle C# (CSharp) Method

CheckInstallBundle() private method

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