コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the Notify class.
        /// </summary>
        /// <param name="context">
        /// The context for this API call.
        /// </param>
        protected Notify(CommerceContext context)
        {
            Context  = context;
            UsersDal = PartnerFactory.UsersDal(Context.Config);
            Uri userServicesClientUri = new Uri(Context.Config.UserServicesClientEndpoint);

            UserServicesClient = PartnerFactory.UserServicesClient(userServicesClientUri, Context.Config);
            SmsServiceUrl      = Context.Config.SmsServiceClientEndpoint;
        }