/// <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!"); } }
/// <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!"); }