예제 #1
0
        public static PCServiceClientSettings GetConfig()
        {
            PCServiceClientSettings settings = (PCServiceClientSettings)ConfigurationBroker.GetSection("pcServiceClientSettings");

            ConfigurationExceptionHelper.CheckSectionNotNull(settings, "pcServiceClientSettings");

            return(settings);
        }
예제 #2
0
        /// <remarks/>
        private PermissionCenterQueryService()
        {
            PCServiceBrokerContext.Current.InitWebClientProtocol(this);

            this.Url = PCServiceClientSettings.GetConfig().QueryServiceAddress.ToString();

            if ((this.IsLocalFileSystemWebService(this.Url) == true))
            {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else
            {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
예제 #3
0
 protected override SchemaObjectServiceSettingsBase GetSettings()
 {
     return(PCServiceClientSettings.GetConfig());
 }
예제 #4
0
        protected override void InitProperties()
        {
            base.InitProperties();

            this.WithLock = PCServiceClientSettings.GetConfig().WithLock;
        }