Inheritance: IMvxPluginConfiguration
        public void Configure(IMvxPluginConfiguration configuration)
        {
            if (configuration != null && !(configuration is DroidCheeseSettingsConfiguration))
                throw new MvxException(
                    "Plugin configuration only supports instances of DroidCheeseSettingsConfiguration, you provided {0}",
                    configuration.GetType().Name);

            _config = (DroidCheeseSettingsConfiguration)configuration;
        }
Exemple #2
0
        public void Configure(IMvxPluginConfiguration configuration)
        {
            if (configuration != null && !(configuration is DroidCheeseSettingsConfiguration))
            {
                throw new MvxException(
                          "Plugin configuration only supports instances of DroidCheeseSettingsConfiguration, you provided {0}",
                          configuration.GetType().Name);
            }

            _config = (DroidCheeseSettingsConfiguration)configuration;
        }