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

InstallBundleInternal() private method

private InstallBundleInternal ( Bundle bundle ) : IBundle
bundle Bundle
return IBundle
        private IBundle InstallBundleInternal(Bundle bundle)
        {
            bundleRepository.Register(bundle);

            if (bundle.State == BundleState.Installed)
            {
                EventManager.OnBundleChanged(
                    new BundleEventArgs(
                        BundleTransition.Installed, bundle)
                        );
            }

            return bundle;
        }