/// <summary>
        /// Create a manageability configuration provider.
        /// </summary>
        /// <param name="manageabilityProviderData">The provdier data.</param>
        /// <returns>A <see cref="ConfigurationElementManageabilityProvider"/> object.</returns>
        public ConfigurationElementManageabilityProvider CreateConfigurationElementManageabilityProvider(
            ConfigurationElementManageabilityProviderData manageabilityProviderData)
        {
            if (manageabilityProviderData == null) throw new ArgumentNullException("manageabilityProviderData");

            return (ConfigurationElementManageabilityProvider)Activator.CreateInstance(manageabilityProviderData.Type);
        }
        /// <summary>
        /// Create a manageability configuration provider.
        /// </summary>
        /// <param name="manageabilityProviderData">The provdier data.</param>
        /// <returns>A <see cref="ConfigurationElementManageabilityProvider"/> object.</returns>
        public ConfigurationElementManageabilityProvider CreateConfigurationElementManageabilityProvider(
            ConfigurationElementManageabilityProviderData manageabilityProviderData)
        {
            if (manageabilityProviderData == null)
            {
                throw new ArgumentNullException("manageabilityProviderData");
            }

            return((ConfigurationElementManageabilityProvider)Activator.CreateInstance(manageabilityProviderData.Type));
        }
Exemplo n.º 3
0
 public ConfigurationElementManageabilityProvider CreateConfigurationElementManageabilityProvider(
     ConfigurationElementManageabilityProviderData manageabilityProviderData)
 {
     return((ConfigurationElementManageabilityProvider)Activator.CreateInstance(manageabilityProviderData.Type));
 }