Exemple #1
0
        /// <summary>
        /// Býr til nýtt Wiki-skjal.
        /// </summary>
        /// <param name="title">Titil Wiki-skjals.</param>
        /// <param name="content">Wiki-kóði viðkomandi Wiki-skjals.</param>
        /// <param name="parent_id">Númer Wiki-skjals sem nýtt Wiki-skal sett undir.</param>
        /// <returns>RemotePage-hlutur sem samsvarar nýja Wiki-skjalinu.</returns>
        private RemotePage CreatePage(string title, string content, long parent_id)
        {
            RemotePage page = new RemotePage()
            {
                space = space, title = title, content = content, parentId = parent_id
            };

            return(confluence.storePage(wiki_access_token, page));
        }
Exemple #2
0
 void StorePage(RemotePage page)
 {
     m_soapService.storePage(m_soapAuthToken, page);
 }