/// <summary>
 /// Register the commands and node maps needed for the design manager into the design time.
 /// </summary>
 /// <param name="serviceProvider">The a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.</param>
 public override void Register(IServiceProvider serviceProvider)
 {
     ValidationCommandRegistrar cmdRegistrar = new ValidationCommandRegistrar(serviceProvider);
     cmdRegistrar.Register();
     ValidationNodeMapRegistrar nodeRegistrar = new ValidationNodeMapRegistrar(serviceProvider);
     nodeRegistrar.Register();
 }
Example #2
0
        /// <summary>
        /// Register the commands and node maps needed for the design manager into the design time.
        /// </summary>
        /// <param name="serviceProvider">The a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.</param>
        public override void Register(IServiceProvider serviceProvider)
        {
            ValidationCommandRegistrar cmdRegistrar = new ValidationCommandRegistrar(serviceProvider);

            cmdRegistrar.Register();
            ValidationNodeMapRegistrar nodeRegistrar = new ValidationNodeMapRegistrar(serviceProvider);

            nodeRegistrar.Register();
        }