Beispiel #1
0
        // Token: 0x060000E0 RID: 224 RVA: 0x00005424 File Offset: 0x00003624
        protected override void InternalTaskExecute()
        {
            base.InternalTaskExecute();
            PropRow mapiRow = null;

            base.NspiContextCallWrapper("GetTemplateInfo", () => this.Context.GetTemplateInfo(this.flags, (uint)this.type, this.legacyDN, (uint)this.codePage, (uint)this.locale, out mapiRow));
            if (base.Status == NspiStatus.Success)
            {
                this.returnCodePage = this.codePage;
                this.returnRow      = ConvertHelper.ConvertFromMapiPropRow(mapiRow, this.returnCodePage);
            }
        }
Beispiel #2
0
        // Token: 0x060000DA RID: 218 RVA: 0x00005254 File Offset: 0x00003454
        protected override void InternalTaskExecute()
        {
            base.InternalTaskExecute();
            PropRow mapiRow = null;

            PropTag[] mapiPropTags = ConvertHelper.ConvertToMapiPropTags(this.propertyTags);
            base.NspiContextCallWrapper("GetProps", () => this.Context.GetProps(this.flags, this.NspiState, mapiPropTags, out mapiRow));
            if (base.Status == NspiStatus.Success || base.Status == NspiStatus.ErrorsReturned)
            {
                this.returnCodePage = base.NspiState.CodePage;
                this.returnRow      = ConvertHelper.ConvertFromMapiPropRow(mapiRow, this.returnCodePage);
            }
        }
 internal static PropertyValue[][] ConvertFromMapiPropRowSet(PropRowSet mapiPropRowSet, int codePage)
 {
     PropertyValue[][] array = null;
     if (mapiPropRowSet != null)
     {
         array = new PropertyValue[mapiPropRowSet.Rows.Count][];
         int num = 0;
         foreach (PropRow mapiPropRow in mapiPropRowSet.Rows)
         {
             array[num++] = ConvertHelper.ConvertFromMapiPropRow(mapiPropRow, codePage);
         }
     }
     return(array);
 }