I have a public interface that has two methods:
public interface IClickStrategy : IStrategy
{
void InsertSending(MailingResult sending, string connectionString, string tableName);
void InsertClick(ClickResult click, MailingResult mailing, int campaignId, string connectionString, string tableName);
}
And I have a class that implements this interface functions. So when I implement these functions, they are correctly in place but of course they are not public:
void IClickStrategy.InsertSending(MailingResult sending, string connectionString, string tableName){
...
}
I'm trying to call this function from my class and it gives me an error that actually makes sense:
"The name 'InsertSending' does not exist in the current context."
What I want to know is how to use these functions inside my class? What is the correct way of doing this? Thanks.