示例#1
0
        protected override void OnInit(EventArgs e)
        {
            var location       = SiteUpdateConfigurationSection.GetSection().StoreLocation;
            var installationId = InstallationInformationFacade.InstallationId;

            _store   = new SiteUpdateStore(location);
            _updates = _store.GetUpdateSummaries(installationId);

            base.OnInit(e);
        }
示例#2
0
        protected override void OnInit(EventArgs e)
        {
            var location       = SiteUpdateConfigurationSection.GetSection().StoreLocation;
            var store          = new SiteUpdateStore(location);
            var installationId = InstallationInformationFacade.InstallationId;
            var updates        = store.GetUpdateSummaries(installationId);

            Update = updates.Single(u => u.Id == Guid.Parse(Request.QueryString["package"]));

            base.OnInit(e);
        }