Example #1
0
        public ContentEntry(ContentType type, [NotNull] string path, [NotNull] string id, string name = null, string version = null) {
            if (path == null) throw new ArgumentNullException(nameof(path));
            if (id == null) throw new ArgumentNullException(nameof(id));

            Type = type;
            Path = path;
            Id = id;
            Name = name ?? id;
            Version = version;
        }