Ejemplo n.º 1
0
        /// <summary>
        /// Calls the remote service.
        /// </summary>
        /// <param name="requestUrl">The The URL of a Windows SharePoint Services "14" Web site.</param>
        /// <param name="warnningList">The warnning list.</param>
        public override void CallService(string requestUrl, List <Warnning> warnningList)
        {
            IServiceLocator   serviceLocator = SharePointServiceLocator.GetCurrent();
            ICWAccountFactory _cwFactory     = serviceLocator.GetInstance <ICWAccountFactory>();

            _cwFactory.CreateCWAccount(this, warnningList, requestUrl);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Calls the service.
        /// </summary>
        /// <param name="requestUrl">The request URL.</param>
        /// <param name="warnningList">The warnning list.</param>
        public void CallService(string requestUrl, List <Customs.Warnning> warnningList)
        {
            IServiceLocator   serviceLocator = SharePointServiceLocator.GetCurrent();
            ICWAccountFactory _cwFactory     = serviceLocator.GetInstance <ICWAccountFactory>();

            _cwFactory.ClearThroughCustoms(this, warnningList, requestUrl);
        }