/// <summary> /// Register a new instance of a plugin for a specified provider. /// All plugins MUST be registered before calling <see cref="Init"/> /// </summary> /// <param name="providerId">Id of the provider for the plugin implementation.</param> /// <param name="plugin">An instance of a plugin implementation</param> public void RegisterPlugin(string providerId, IPlugin plugin) { Check.Argument.IsStrNotNullOrEmpty(providerId, "providerId", "Provider id can't be null or empty"); Check.Argument.IsNotNull(plugin, "plugin", "Plugin cannot be null or empty"); getSocialImpl.RegisterPlugin(providerId, plugin); }