Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/26/10 01:56:37 (14 years ago)
Author:
swagner
Message:

Adapted deployment service (#1165)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/DeploymentService/UpdateServiceClientFactory.cs

    r4493 r4495  
    2626namespace HeuristicLab.PluginInfrastructure.Advanced.DeploymentService {
    2727  /// <summary>
    28   /// Factory class to generated update client instances for the deployment service.
     28  /// Factory class to generate update service client instances for the deployment service.
    2929  /// </summary>
    30   public static class UpdateClientFactory {
     30  public static class UpdateServiceClientFactory {
    3131    private static byte[] serverCrtData;
    3232
     
    3434    /// static constructor loads the embedded service certificate
    3535    /// </summary>
    36     static UpdateClientFactory() {
     36    static UpdateServiceClientFactory() {
    3737      var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.services.heuristiclab.com.cer");
    3838      serverCrtData = new byte[stream.Length];
     
    4141
    4242    /// <summary>
    43     /// Factory method to create new update clients for the deployment service.
     43    /// Factory method to create new update service clients for the deployment service.
    4444    /// Sets the connection string and user credentials from values provided in settings.
    4545    /// HeuristicLab.PluginInfrastructure.Properties.Settings.Default.UpdateLocationUserName
     
    4848    ///
    4949    /// </summary>
    50     /// <returns>A new instance of an update client</returns>
    51     public static UpdateClient CreateClient() {
    52       var client = new UpdateClient();
     50    /// <returns>A new instance of an update service client</returns>
     51    public static UpdateServiceClient CreateClient() {
     52      var client = new UpdateServiceClient();
    5353      client.ClientCredentials.UserName.UserName = HeuristicLab.PluginInfrastructure.Properties.Settings.Default.UpdateLocationUserName;
    5454      client.ClientCredentials.UserName.Password = HeuristicLab.PluginInfrastructure.Properties.Settings.Default.UpdateLocationPassword;
Note: See TracChangeset for help on using the changeset viewer.