/// <summary> /// Uses the application win options. /// </summary> /// <param name="updaters">The updaters.</param> /// <param name="options">The options.</param> /// <returns>ModelNodesGeneratorUpdaters.</returns> public static ModelNodesGeneratorUpdaters UseApplicationWinOptions(this ModelNodesGeneratorUpdaters updaters, ApplicationWinOptions options) { updaters.Add(new ModelOptionsWinNodesGeneratorUpdater(options)); return(updaters); }
/// <summary> /// Uses the application win options. /// </summary> /// <param name="updaters">The updaters.</param> /// <param name="options">The options.</param> /// <returns>ModelNodesGeneratorUpdaters.</returns> public static ModelNodesGeneratorUpdaters UseApplicationWinOptions(this ModelNodesGeneratorUpdaters updaters, ApplicationWinOptions options) { _ = updaters ?? throw new ArgumentNullException(nameof(updaters)); _ = options ?? throw new ArgumentNullException(nameof(options)); updaters.Add(new ModelOptionsWinNodesGeneratorUpdater(options)); return(updaters); }