コード例 #1
0
 public ConfluenceSearch(ConfluenceConnector confluenceConnector, ConfluenceUpload confluenceUpload)
 {
     _confluenceConnector = confluenceConnector;
     _confluenceUpload    = confluenceUpload;
     DataContext          = this;
     InitializeComponent();
     if (ConfluenceConfig.SearchSpaceKey == null)
     {
         SpaceComboBox.SelectedItem = Spaces.FirstOrDefault();
     }
     else
     {
         foreach (var space in Spaces)
         {
             if (space.Key.Equals(ConfluenceConfig.SearchSpaceKey))
             {
                 SpaceComboBox.SelectedItem = space;
             }
         }
     }
 }
コード例 #2
0
 public ConfluenceTreePicker(ConfluenceConnector confluenceConnector, ConfluenceUpload confluenceUpload)
 {
     _confluenceConnector = confluenceConnector;
     _confluenceUpload    = confluenceUpload;
     InitializeComponent();
 }
コード例 #3
0
 public ConfluencePagePicker(ConfluenceUpload confluenceUpload, List <Page> pagesToPick)
 {
     _confluenceUpload = confluenceUpload;
     DataContext       = pagesToPick;
     InitializeComponent();
 }