Exemple #1
0
 public ADSettings()
 {
     state = State.App.Instance.AD;
     this.TestConnectionCommand = new RelayAsyncCommand(TestConnection);
     this.AddRuleCommand        = new RelayAsyncCommand(AddRule);
     this.EditRuleCommand       = new RelayAsyncCommand <IRule>(EditRule);
     this.DeleteRuleCommand     = new RelayCommand <IRule>(DeleteRule);
 }
Exemple #2
0
        public StaffPasswords()
        {
            state = State.App.Instance.AD;
            state.AddObserver(this);
            ClearFilterCommand = new RelayCommand(ClearFilter);
            NewAccountCommand  = new RelayCommand(NewAccount);

            updateSelection();
        }
        public ADAccounts()
        {
            state = State.App.Instance.AD;
            state.AddObserver(this);

            ReloadCommand      = new RelayAsyncCommand(ReloadAccounts);
            SetTargetCommand   = new RelayCommand <string>(SetTarget);
            ClearFilterCommand = new RelayCommand(ClearFilter);

            updateSelection();
        }
        public DashboardPage()
        {
            Wisa = State.App.Instance.Wisa;
            //Google = State.App.Instance.Google;
            AD          = State.App.Instance.AD;
            Smartschool = State.App.Instance.Smartschool;
            Azure       = State.App.Instance.Azure;

            Wisa.AddObserver(this);
            //Google.AddObserver(this);
            AD.AddObserver(this);
            Smartschool.AddObserver(this);
            Azure.AddObserver(this);

            SyncWisaGroupsCommand          = new RelayAsyncCommand(SyncWisaGroups);
            SyncADGroupsCommand            = new RelayAsyncCommand(SyncDirectoryGroups);
            SyncWisaAccountsCommand        = new RelayAsyncCommand(SyncWisaAccounts);
            SyncADAccountsCommand          = new RelayAsyncCommand(SyncDirectoryAccounts);
            SyncSmartschoolAccountsCommand = new RelayAsyncCommand(SyncSmartschoolAccounts);
            //SyncGoogleAccountsCommand = new RelayAsyncCommand(SyncGoogleAccounts);
            SyncAzureAccountsCommand = new RelayAsyncCommand(SyncAzureAccounts);
        }