示例#1
0
 // Token: 0x0600075A RID: 1882 RVA: 0x00028E36 File Offset: 0x00027036
 public void WriteParameter(CalendarParameterReader reader)
 {
     this.StartParameter(reader.Name);
     while (reader.ReadNextValue())
     {
         this.WriteParameterValue(reader.ReadValue());
     }
     if (this.firstParameterValue)
     {
         this.WriteParameterValue(string.Empty);
     }
     this.EndParameter();
 }
示例#2
0
        // Token: 0x06000757 RID: 1879 RVA: 0x00028DAC File Offset: 0x00026FAC
        public void WriteProperty(CalendarPropertyReader reader)
        {
            CalendarParameterReader parameterReader = reader.ParameterReader;

            this.StartProperty(reader.Name);
            while (parameterReader.ReadNextParameter())
            {
                this.WriteParameter(parameterReader);
            }
            CalendarValueSeparators separator = CalendarValueSeparators.None;

            while (reader.ReadNextValue())
            {
                this.WritePropertyValue(reader.ReadValue(CalendarValueSeparators.Comma | CalendarValueSeparators.Semicolon), separator);
                separator = reader.LastValueSeparator;
            }
            this.EndProperty();
        }