public OperationViewModel(ISystemPersistence persistence, SemaphoreSlim semaphoreSlim) { this.persistence = persistence; this.gate = semaphoreSlim; Load(); AutoSelection = false; }
public GroupManagerPage(ISystemPersistence persistence) { this.persistence = persistence; this.gate = new SemaphoreSlim(1, 1); this.TableCollection = new ObservableCollection <GroupTableModel>(); this.TableCollection.CollectionChanged += TableCollection_CollectionChanged; InitializeComponent(); }
public MainWindow() { SemaphoreSlim semaphore = new(1, 1); FileInteractor context = new(semaphore); persistence = new SystemPersistence(context); InitializeComponent(); AddAccounts_Click(this, new RoutedEventArgs()); }
public DeleteAccountCommandHandler(ISystemPersistence persistence) { this.persistence = persistence; }
public GetGroupMembersQueryHandler(ISystemPersistence persistence) { this.persistence = persistence; }
public PostController(ISystemPersistence persistence) { this.persistence = persistence; }
public UpdatePostCommandHandler(ISystemPersistence persistence) { this.persistence = persistence; }
public ActionsManagerPage(ISystemPersistence persistence) { this.persistence = persistence; AccountCollection = new ObservableCollection <AccountTableModel>(); InitializeComponent(); }
public GetPostsQueryHandler(ISystemPersistence persistence) { this.persistence = persistence; }
public AccountViewModel(ISystemPersistence persistence, SemaphoreSlim semaphoreSlim) { this.persistence = persistence; this.gate = semaphoreSlim; LoadData(); }
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable. public MainWindowViewModel(ISystemPersistence persistence) { this.persistence = persistence; OpenAccountView(); }
public DeleteGroupCommandHandler(ISystemPersistence persistence) { this.persistence = persistence; }
public GroupViewModel(ISystemPersistence persistence, SemaphoreSlim semaphoreSlim) { this.persistence = persistence; this.gate = semaphoreSlim; Load(); }
public GroupController(ISystemPersistence persistence) { this.persistence = persistence; }
public PostViewModel(ISystemPersistence persistence, SemaphoreSlim gate) { this.persistence = persistence; this.gate = gate; Load(); }
public AccountController(ISystemPersistence persistence) { this.persistence = persistence; }