mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-01-01 02:26:01 +01:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -4,7 +4,8 @@ namespace NzbDrone.Common.Extensions
|
||||
{
|
||||
public static class ObjectExtensions
|
||||
{
|
||||
public static T JsonClone<T>(this T source) where T : new()
|
||||
public static T JsonClone<T>(this T source)
|
||||
where T : new()
|
||||
{
|
||||
var json = source.ToJson();
|
||||
return Json.Deserialize<T>(json);
|
||||
|
||||
Reference in New Issue
Block a user