예제 #1
0
        public IDictionary <string, OneSpanSign.Sdk.Sender> GetContacts()
        {
            IList <OneSpanSign.API.Sender> contacts = apiClient.GetContacts();

            IDictionary <string, OneSpanSign.Sdk.Sender> result = new Dictionary <string, OneSpanSign.Sdk.Sender>();

            foreach (OneSpanSign.API.Sender apiSender in contacts)
            {
                result[apiSender.Email] = new SenderConverter(apiSender).ToSDKSender();
            }

            return(result);
        }
예제 #2
0
        public IDictionary <string, Silanis.ESL.SDK.Sender> GetContacts()
        {
            IList <Silanis.ESL.API.Sender> contacts = apiClient.GetContacts();

            IDictionary <string, Silanis.ESL.SDK.Sender> result = new Dictionary <string, Silanis.ESL.SDK.Sender>();

            foreach (Silanis.ESL.API.Sender apiSender in contacts)
            {
                result[apiSender.Email] = new SenderConverter(apiSender).ToSDKSender();
            }

            return(result);
        }