Beispiel #1
0
 /// <summary>
 ///   Creates a new instance of the <see cref="IcsReader"/> with the specified <see cref="TextReader"/>
 ///   and <see cref="IcsReaderSettings"/>
 /// </summary>
 /// <param name="reader">
 ///   The <see cref="TextReader"/> from which to read iCalendar data. All iCalendar data is encoded as UTF-8.
 /// </param>
 /// <param name="settings">
 ///   The <see cref="IcsReaderSettings"/> for the reader.
 /// </param>
 public static IcsReader Create(TextReader reader, IcsReaderSettings settings)
 {
     return new IcsReader(reader, settings);
 }
Beispiel #2
0
 /// <summary>
 ///   Creates a new instance of the <see cref="IcsReader"/> with the specified <see cref="TextReader"/>.
 /// </summary>
 /// <param name="reader">
 ///   The <see cref="TextReader"/> from which to read iCalendar data. All iCalendar data is encoded as UTF-8.
 /// </param>
 /// <param name="settings">
 ///   The <see cref="IcsReaderSettings"/> for the reader.
 /// </param>
 IcsReader(TextReader reader, IcsReaderSettings settings)
 {
     this.reader = reader;
     this.settings = settings;
 }