private readonly AppData appData; // the common data of the application /// <summary> /// Initializes a new instance of the class. /// </summary> public IntegrityCheck(ConfigBase configBase, AppData appData) { this.configBase = configBase ?? throw new ArgumentNullException("configBase"); this.appData = appData ?? throw new ArgumentNullException("appData"); }