コード例 #1
0
        // Token: 0x060004C5 RID: 1221 RVA: 0x00027B38 File Offset: 0x00025D38
        private void RenderMrr(TextWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException("writer");
            }
            RecipientCache recipientCache = AutoCompleteCache.TryGetCache(base.OwaContext.UserContext, false);

            if (recipientCache != null)
            {
                recipientCache.SortByDisplayName();
                writer.Write("<tr><td class=\"lt\">");
                MRRSelect.Render(MRRSelect.Type.CalendarRecipients, recipientCache, writer);
                writer.Write("</td></tr>");
            }
            RecipientCache recipientCache2 = RoomsCache.TryGetCache(base.OwaContext.UserContext, false);

            if (recipientCache2 != null)
            {
                recipientCache2.SortByDisplayName();
                writer.Write("<tr><td class=\"lt\">");
                MRRSelect.Render(MRRSelect.Type.Resources, recipientCache2, writer);
                writer.Write("</td></tr>");
            }
        }
コード例 #2
0
        private void RenderMostRecentRecipients(TextWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException("writer");
            }
            RecipientCache recipientCache = AutoCompleteCache.TryGetCache(base.OwaContext.UserContext, false);

            if (recipientCache != null)
            {
                recipientCache.SortByDisplayName();
                MRRSelect.Render(MRRSelect.Type.MessageRecipients, recipientCache, writer);
            }
        }