示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModelOptionsWinNodesGeneratorUpdater"/> class.
 /// </summary>
 /// <param name="options">The options.</param>
 public ModelNavigationItemWinNodesGeneratorUpdater(NavigationWinOptions options) : base(options)
 {
 }
示例#2
0
        /// <summary>
        /// Uses the navigation win options.
        /// </summary>
        /// <param name="updaters">The updaters.</param>
        /// <param name="options">The options.</param>
        /// <returns>ModelNodesGeneratorUpdaters.</returns>
        public static ModelNodesGeneratorUpdaters UseNavigationWinOptions(this ModelNodesGeneratorUpdaters updaters, NavigationWinOptions options)
        {
            _ = updaters ?? throw new ArgumentNullException(nameof(updaters));
            _ = options ?? throw new ArgumentNullException(nameof(options));

            updaters.Add(new ModelNavigationItemWinNodesGeneratorUpdater(options));
            return(updaters);
        }