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