Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/91cc65bae22095081308dae3ff0cfc0490301094/NzbDrone.Test.Common/ReflectionExtensions.cs
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Test.Common
|
|
|
|
|
{
|
|
|
|
|
public static class ReflectionExtensions
|
|
|
|
|
{
|
|
|
|
|
public static T GetPropertyValue<T>(this object obj, string propertyName)
|
|
|
|
|
{
|
|
|
|
|
return (T)obj.GetType().GetProperty(propertyName).GetValue(obj, null);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|