< Summary - Jellyfin

Information
Class: MediaBrowser.Controller.Collections.CollectionCreationOptions
Assembly: MediaBrowser.Controller
File(s): /srv/git/jellyfin/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 32
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Coverage history

Coverage history 0 25 50 75 100

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%

File(s)

/srv/git/jellyfin/MediaBrowser.Controller/Collections/CollectionCreationOptions.cs

#LineLine coverage
 1#nullable disable
 2
 3#pragma warning disable CS1591
 4
 5using System;
 6using System.Collections.Generic;
 7using MediaBrowser.Model.Entities;
 8
 9namespace MediaBrowser.Controller.Collections
 10{
 11    public class CollectionCreationOptions : IHasProviderIds
 12    {
 13        public CollectionCreationOptions()
 14        {
 015            ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
 016            ItemIdList = Array.Empty<string>();
 017            UserIds = Array.Empty<Guid>();
 018        }
 19
 20        public string Name { get; set; }
 21
 22        public Guid? ParentId { get; set; }
 23
 24        public bool IsLocked { get; set; }
 25
 26        public Dictionary<string, string> ProviderIds { get; set; }
 27
 28        public IReadOnlyList<string> ItemIdList { get; set; }
 29
 30        public IReadOnlyList<Guid> UserIds { get; set; }
 31    }
 32}

Methods/Properties

.ctor()