/// <summary> /// Set the inner application /// </summary> /// <param name="getNzbMatrixApplication">Get NzbMatrixApplication method</param> public void InnerSetApplication(Func <INzbMatrixApplication> getNzbMatrixApplication) { _application = getNzbMatrixApplication(); }
/// <summary> /// Sets the current NzbMatrixApplication /// </summary> /// <param name="nzbMatrixApplication">INzbMatrixApplication</param> public static void SetApplication(INzbMatrixApplication nzbMatrixApplication) { Instance.InnerSetApplication(nzbMatrixApplication); }
/// <summary> /// Sets the inner application /// </summary> /// <param name="nzbMatrixApplication">INzbMatrixApplication</param> public void InnerSetApplication(INzbMatrixApplication nzbMatrixApplication) { _application = nzbMatrixApplication; }
public NzbMatrixApplication() { _application = NzbMatrixConfigurationSection.Current; }