Jbe.NewsReader.Domain.FeedItem.FeedItem C# (CSharp) Method

FeedItem() public method

public FeedItem ( Uri uri, DateTimeOffset date, string name, string description, string author ) : System
uri System.Uri
date DateTimeOffset
name string
description string
author string
return System
        public FeedItem(Uri uri, DateTimeOffset date, string name, string description, string author)
        {
            // Note: Serializer does not call the constructor.
            if (uri == null) { throw new ArgumentNullException(nameof(uri)); }
            this.uri = uri;
            Date = date;
            Name = name;
            Description = description;
            Author = author;
        }