示例#1
0
        public void ConvertSDKToAPI()
        {
            sdkSenderType1 = CreateTypicalSDKSenderType();
            apiSenderType1 = new SenderTypeConverter(sdkSenderType1).ToAPISenderType();

            Assert.AreEqual(apiSenderType1.ToString(), sdkSenderType1.ToString());
        }
示例#2
0
        public void ConvertAPIToSDK()
        {
            apiSenderType1 = CreateTypicalAPISenderType();
            sdkSenderType1 = new SenderTypeConverter(apiSenderType1).ToSDKSenderType();

            Assert.AreEqual(sdkSenderType1.ToString(), apiSenderType1.ToString());
        }
		public void ConvertSDKToAPI()
		{
			sdkSenderType1 = CreateTypicalSDKSenderType();
			apiSenderType1 = new SenderTypeConverter(sdkSenderType1).ToAPISenderType();

			Assert.AreEqual(apiSenderType1.ToString(), sdkSenderType1.ToString());
		}
		public void ConvertAPIToSDK()
		{
			apiSenderType1 = CreateTypicalAPISenderType();
			sdkSenderType1 = new SenderTypeConverter(apiSenderType1).ToSDKSenderType();

			Assert.AreEqual(sdkSenderType1.ToString(), apiSenderType1.ToString());
		}
		/// <summary>
		/// Construct with API SenderType object involved in conversion.
		/// </summary>
		/// <param name="apiSenderType">API sender type.</param>
		public SenderTypeConverter(Silanis.ESL.API.SenderType apiSenderType)
		{
			this.apiSenderType = apiSenderType;
		}
示例#6
0
 /// <summary>
 /// Construct with API SenderType object involved in conversion.
 /// </summary>
 /// <param name="apiSenderType">API sender type.</param>
 public SenderTypeConverter(Silanis.ESL.API.SenderType apiSenderType)
 {
     this.apiSenderType = apiSenderType;
 }