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

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

            _config = (DroidNotificationConfiguration)configuration;
        }