/// <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)); }
public FahLogLogLineEnumerable(FahLog source) { _source = source ?? throw new ArgumentNullException(nameof(source)); }
public void FahLog_Read_ArgumentNullException_Test() { Assert.Throws(typeof(ArgumentNullException), () => FahLog.Read(null, FahLogType.Legacy)); }