示例#1
0
 /// <summary>
 /// Creates and returns a <see cref="LogLineEnumerable"/> from an <see cref="FahLog"/> source.
 /// </summary>
 /// <param name="source">The enumeration source.</param>
 /// <returns>A <see cref="LogLineEnumerable"/> from an <see cref="FahLog"/> source.</returns>
 public static LogLineEnumerable Create(FahLog source)
 {
     return(new FahLogLogLineEnumerable(source));
 }
示例#2
0
 public FahLogLogLineEnumerable(FahLog source)
 {
     _source = source ?? throw new ArgumentNullException(nameof(source));
 }
示例#3
0
 public void FahLog_Read_ArgumentNullException_Test()
 {
     Assert.Throws(typeof(ArgumentNullException), () => FahLog.Read(null, FahLogType.Legacy));
 }