Example #1
0
        /// <summary>
        /// Returns the shared updater for the given bundle.
        /// </summary>
        /// <param name="bundle">The bundle to get the updater for.</param>
        /// <returns>A shared updater for the given bundle.</returns>
        public static SUUpdater UpdaterForBundle(KNBundle bundle) {

            if (bundle == null) {
                bundle = KNBundle.MainBundle();
            }

            SUUpdater updater = null;

            if (!sharedUpdaters.TryGetValue(bundle, out updater)) {
                updater = new SUUpdater(bundle);

            }
           
            return updater;
        }
Example #2
0
        /// <summary>
        /// Returns the shared updater for the given bundle.
        /// </summary>
        /// <param name="bundle">The bundle to get the updater for.</param>
        /// <returns>A shared updater for the given bundle.</returns>
        public static SUUpdater UpdaterForBundle(KNBundle bundle)
        {
            if (bundle == null)
            {
                bundle = KNBundle.MainBundle();
            }

            SUUpdater updater = null;

            if (!sharedUpdaters.TryGetValue(bundle, out updater))
            {
                updater = new SUUpdater(bundle);
            }

            return(updater);
        }
 public SUUpdateDriver(SUUpdater anUpdater) {
     Updater = anUpdater;
 }
 public SUUIBasedUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater) {
 }
 public SUBasicUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater)
 {
 }
 public SUProbingUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater)
 {
 }
Example #7
0
        public TestApp()
        {
            InitializeComponent();

            updater = SUUpdater.SharedUpdater();
        }
 public SUProbingUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater) {
 }
        public SUUserInitiatedUpdateDriver(SUUpdater anUpdater)
            : base(anUpdater) {

        }
 public SUUIBasedUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater)
 {
 }
 public SUScheduledUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater)
 {
 }
Example #12
0
 public SUBasicUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater)
 {
 }
 public SUUserInitiatedUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater)
 {
 }
 public SUUpdateDriver(SUUpdater anUpdater)
 {
     Updater = anUpdater;
 }
 public SUScheduledUpdateDriver(SUUpdater anUpdater)
     : base(anUpdater) {
 }