public FreeBusySettings(FeatureFreeBusy feature = null) { this._feature = feature; InitializeComponent(); // Allow null feature for designer if (feature != null) { checkGABLookup.Checked = feature.DoGABLookup; foreach (ZPushAccount account in feature.Accounts.GetAccounts()) { comboDefaultAccount.Items.Add(account); } comboDefaultAccount.SelectedItem = feature.DefaultAccount; } }
public FreeBusyServlet(FeatureFreeBusy freeBusy) { this._freeBusy = freeBusy; }
public FreeBusyServer(FeatureFreeBusy freeBusy) { this._httpRequest = new Regex(@"^GET /([^/]+)/([^ ]*) HTTP/(\d.\d)$"); _servlets.Add(FeatureFreeBusy.URL_IDENTIFIER, () => new FreeBusyServlet(freeBusy)); }