8.2. Implement Repository SettingsΒΆ
Follow these step to create a plugin for repository settings.
In Visual Studio, add the following class:
using DataExchange.Providers.RESTful.Repositories; using Sitecore.DataExchange; namespace DataExchange.Providers.RESTful.Plugins.Context { public class RepositorySettings : IPlugin { public IClientRepository Client { get; set; } } }
Note
No extension method was added for RepositorySettings plugin because it is accessed from
public static T GetPlugin<T>() where T : IPlugin
in the Sitecore.DataExchange.Context.