mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Remove unused factory method
This commit is contained in:
parent
f638ee6b09
commit
7b37ae94f7
@ -58,18 +58,5 @@ namespace Jellyfin.Data.Entities
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The end hour.</value>
|
/// <value>The end hour.</value>
|
||||||
public double EndHour { get; set; }
|
public double EndHour { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="dayOfWeek">The day of the week.</param>
|
|
||||||
/// <param name="startHour">The start hour.</param>
|
|
||||||
/// <param name="endHour">The end hour.</param>
|
|
||||||
/// <param name="userId">The associated user's id.</param>
|
|
||||||
/// <returns>The newly created instance.</returns>
|
|
||||||
public static AccessSchedule Create(DynamicDayOfWeek dayOfWeek, double startHour, double endHour, Guid userId)
|
|
||||||
{
|
|
||||||
return new AccessSchedule(dayOfWeek, startHour, endHour, userId);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user