public static long SizeBytes(this IEnumerable <ISiteLog> logs) { ISiteLog log = logs.FirstOrDefault(); long sizeOfBytes = log.SizeBytes(); int count = logs.Count(); long result = sizeOfBytes * count; return(result); }
public static long SizeBytes(this ISiteLog log) { return(GetObjectSize(log)); }