You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/src/Lidarr.Http/REST/Attributes/SkipValidationAttribute.cs

18 lines
407 B

using System;
namespace Lidarr.Http.REST.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class SkipValidationAttribute : Attribute
{
public SkipValidationAttribute(bool skip = true, bool skipShared = true)
{
Skip = skip;
SkipShared = skipShared;
}
public bool Skip { get; }
public bool SkipShared { get; }
}
}