Ejemplo n.º 1
0
 /// <summary>
 /// Sets the fit function service.
 /// </summary>
 /// <param name="fitFunctionService">The instance of fit function service to use in this application.</param>
 public static void SetFitFunctionService(Altaxo.Main.Services.IFitFunctionService fitFunctionService)
 {
     if (null == sm_theFitFunctionService)
     {
         sm_theFitFunctionService = fitFunctionService;
     }
     else
     {
         throw new ApplicationException("The fit function service can not be re-set to another value, only initialized for the first time!");
     }
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Sets the fit function service.
		/// </summary>
		/// <param name="fitFunctionService">The instance of fit function service to use in this application.</param>
		public static void SetFitFunctionService(Altaxo.Main.Services.IFitFunctionService fitFunctionService)
		{
			if (null == sm_theFitFunctionService)
				sm_theFitFunctionService = fitFunctionService;
			else
				throw new ApplicationException("The fit function service can not be re-set to another value, only initialized for the first time!");
		}