Example #1
0
        /// <summary>
        ///     Removes the specified tenant.
        /// </summary>
        /// <param name="tenant">The tenant.</param>
        /// <exception cref="System.ArgumentNullException">tenant</exception>
        public void Remove(PrewarmTenant tenant)
        {
            if (tenant == null)
            {
                throw new ArgumentNullException("tenant");
            }

            Remove(tenant.Name);
        }
Example #2
0
 /// <summary>
 ///     Adds the specified tenant.
 /// </summary>
 /// <param name="tenant">The tenant.</param>
 public void Add(PrewarmTenant tenant)
 {
     BaseAdd(tenant);
 }