/// <summary> /// Set the name of a specific box to update /// </summary> /// <remarks>When using this option, the box does not need to be part of the active environment</remarks> /// <param name="settings">The settings</param> /// <param name="name">Name of the box to update</param> /// <returns>The updated settings object</returns> public static VagrantBoxUpdateSettings OnlyUpdate(this VagrantBoxUpdateSettings settings, string name) { settings.BoxName = name; return(settings); }
/// <summary> /// Controls what provider-specific box to update /// </summary> /// <param name="settings">The settings</param> /// <param name="provider">The provider name to update</param> /// <returns>The updated settings object</returns> public static VagrantBoxUpdateSettings UseProvider(this VagrantBoxUpdateSettings settings, string provider) { settings.Provider = provider; return(settings); }