public FileModel(string fullPath, string fileName, FileStateType currentState) { FullPath = fullPath; FileName = fileName; CurrentState = currentState; }
protected virtual void OnStateChanged(FileStateType e) { StateChanged?.Invoke(this, e); }
private void StateChanged(object sender, FileStateType e) { State = e; }