/// <summary> /// Sets the current data display service. /// </summary> /// <param name="service">The instance of the data display service to use in this application.</param> public static void SetDataDisplayService(Altaxo.Main.Services.IDataDisplayService service) { if (null == sm_theDataDisplayService) { sm_theDataDisplayService = service; } else { throw new ApplicationException("The data display service can not be re-set to another value, only initialized for the first time!"); } }
/// <summary> /// Sets the current data display service. /// </summary> /// <param name="service">The instance of the data display service to use in this application.</param> public static void SetDataDisplayService(Altaxo.Main.Services.IDataDisplayService service) { if (null == sm_theDataDisplayService) sm_theDataDisplayService = service; else throw new ApplicationException("The data display service can not be re-set to another value, only initialized for the first time!"); }