Ejemplo n.º 1
0
        /// <summary>
        ///     Registers an input provider with the input manager.
        /// </summary>
        /// <param name="inputProvider">
        ///     The input provider to register.
        /// </param>
        internal InputProviderSite RegisterInputProvider(IInputProvider inputProvider)
        {
//             VerifyAccess();


            // Create a site for this provider, and keep track of it.
            InputProviderSite site = new InputProviderSite(this, inputProvider);

            _inputProviders[inputProvider] = site;

            return(site);
        }
Ejemplo n.º 2
0
        internal InputProviderSite RegisterInputProvider(IInputProvider inputProvider)
        {
            SecurityHelper.DemandUnrestrictedUIPermission();
//             VerifyAccess();


            // Create a site for this provider, and keep track of it.
            InputProviderSite site = new InputProviderSite(this, inputProvider);

            _inputProviders[inputProvider] = site;

            return(site);
        }
Ejemplo n.º 3
0
        internal InputProviderSite RegisterInputProvider(IInputProvider inputProvider)
        {
            SecurityHelper.DemandUnrestrictedUIPermission();
//             VerifyAccess();


            // Create a site for this provider, and keep track of it.
            InputProviderSite site = new InputProviderSite(this, inputProvider);
            _inputProviders[inputProvider] = site;

            return site;
        }