Serilog.Events.SequenceValue.SequenceValue C# (CSharp) Method

SequenceValue() public method

Create a SequenceValue with the provided elements.
public SequenceValue ( IEnumerable elements ) : System
elements IEnumerable The elements of the sequence.
return System
        public SequenceValue(IEnumerable<LogEventPropertyValue> elements)
        {
            if (elements == null) throw new ArgumentNullException(nameof(elements));
            _elements = elements.ToArray();
        }