コード例 #1
0
        public void UpdateAdminSettings(AdminSettings newSettings)
        {
            if (newSettings == null)
            {
                throw Utility.ThrowResponseException(this.Request, System.Net.HttpStatusCode.BadRequest, ErrorMessages.NullInput);
            }

            settings = newSettings;
        }
コード例 #2
0
 static AdminSettingsController()
 {
     settings = new AdminSettings
     {
         EndpointAddress = "http://myserver:300",
         Username = "******",
         Password = "******"
     };
 }