Ejemplo n.º 1
0
 /// <summary>
 /// Populates the value of variable length properties
 /// </summary>
 private void PopulateVariableLengthProperties(PropertyStream ps, string storage)
 {
     var variableLengthReader = new VariableLengthStreamReader(_compoundFile);
     foreach (var item in ps.Data)
     {
         if (!TypeMapper.IsFixedLength(item.PropertyTag.Type))
         {
             object obj = variableLengthReader.GetVariableLengthProperty(item, storage);
             (item as VariableLengthPropertyEntry).VariableLengthData = obj;
         }
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Populates the value of variable length properties
        /// </summary>
        private void PopulateVariableLengthProperties(PropertyStream ps, string storage)
        {
            var variableLengthReader = new VariableLengthStreamReader(_compoundFile);

            foreach (var item in ps.Data)
            {
                if (!TypeMapper.IsFixedLength(item.PropertyTag.Type))
                {
                    object obj = variableLengthReader.GetVariableLengthProperty(item, storage);
                    (item as VariableLengthPropertyEntry).VariableLengthData = obj;
                }
            }
        }